The core API endpoint. Your agent calls this to access content. The platform checks your token, matches publisher rules, and either grants access (200) or requests payment (402).
| Field | Value |
| Endpoint | POST /api/v1/access/verify |
| Full URL | https://cdn.aisa.one/api/v1/access/verify |
| Content-Type | application/json |
| Authentication | Authorization: Bearer <crawlerToken> |
Request Parameters
| Parameter | Type | Required | Description |
publisherDomain | string | Yes | Publisher's domain or email |
resourceUrl | string | Yes | URL path of the content being accessed |
crawlerAutoPrice | boolean | No | Auto-pay at publisher's price |
crawlerExactPrice | string | No | Pay only if exact price matches, e.g. "USD 0.10" |
crawlerMaxPrice | string | No | Pay up to this budget, e.g. "USD 1.00" |
crawlerAgent | string | No | Agent identifier or User-Agent string |
Price parameters are mutually exclusive. Send at most one of crawlerAutoPrice, crawlerExactPrice, or crawlerMaxPrice. Omit all three for price discovery mode.
Success Response (200)
json
{
"accessGranted": true,
"statusCode": 200,
"message": "Access granted - charge applied",
"charge": {
"amount": 0.01,
"currency": "USD",
"billingType": "per-request",
"crawlerBalanceBefore": 5.00,
"crawlerBalanceAfter": 4.99
},
"rule": {
"id": 10,
"urlPattern": "/article/",
"accessMode": "pay",
"price": 0.01
},
"crawlerIdentification": {
"recognized": true,
"identifier": "custom"
}
}
Payment Required Response (402)
json
{
"accessGranted": false,
"statusCode": 402,
"error": "insufficient_balance",
"message": "Insufficient balance",
"price": {
"amount": 0.01,
"currency": "USD",
"billingType": "per-request"
},
"crawler": {
"currentBalance": 0.00,
"shortfall": 0.01
},
"onboarding": "https://cdn.aisa.one/cdn/guide.html",
"crawlerIdentification": {
"recognized": true,
"identifier": "custom"
}
}