Pando Exchange Docs Build your marketplace
On this page

Data API

Provider routes and x402 protocol

Read the provider contract, including indexing status, snapshot access, receipts and retries.

The provider uses its own HTTPS origin. Examples use https://data.example. The built service is unavailable publicly. The local examples exercise configuration-free reads and refusal responses in an isolated Worker.

Exchange an x402 authorization#

  1. Request the exact resource without a payment header. A priced, ready resource answers HTTP 402 and returns Payment-Required. Decode its Base64 JSON. It identifies x402 v2, the resource URL and the offered exact requirement. The provider returns a single requirement with scheme, network, asset, amount, payTo, maxTimeoutSeconds (120) and extra.
  2. Review the network, canonical USDC asset, amount, payee, deadline and resource URL. Payment uses EIP-3009 on Base Sepolia (eip155:84532) by default, or Base mainnet (eip155:8453) if configured. The NFT chain in the URL is independent of the payment chain. Prices are integer USDC base units. On new activations also show the proposed accepts[].extra.indexStartBlock. For snapshot access, review the limits in accepts[].extra.snapshotAccess.
  3. The paying operator’s wallet signs the EIP-3009 USDC authorization. Its signature covers the sender, recipient, amount, validity interval and nonce under the token’s EIP-712 domain. The x402 payload carries the selected requirement and resource URL separately. The provider checks the payload against the exact configured resource and the original terms. A signed nonce can settle only one resource in the provider’s ledger, across both NFT chains.
  4. Retry the identical method and URL, keeping the exact query string, with the encoded payload in Payment-Signature (up to 8192 characters on the provider). The provider verifies and settles through the facilitator. Keep the successful Payment-Response, which carries settlement information, and any Pando-Payment-Id. The decoded receipt includes the payment network and settlement transaction.

Replay and recovery#

For 24 hours after settlement is recorded or reconciliation confirms it, retry the same URL with the exact same payment header to recover the original result and receipt. Preserve the request and its receipt out of logs. A verification outage can return 503. Retry the same still-valid authorization. An ambiguous settlement can return 503 for pages or 409 for activation, with Pando-Payment-Id. A successful facilitator receipt can appear on one of those errors if local recording failed. Preserve it for reconciliation.

A pending reservation can return 409 and stays reserved through authorization expiry. A reconciled no-charge outcome can answer 409 with Pando-Payment-Status: no-charge and the matching ID for 24 hours from reconciliation. The provider can prove an expired authorization was never reserved only when it has retained evidence of the full possible acceptance interval. In that case it returns 400 with Pando-Payment-Status: unreserved and the matching ID. A generic error or current collection status does not establish payment outcome. A repeat unsigned activation of an active collection only reads its current status.

Bounded snapshot access#

When capabilities include snapshotAccess, purchase one 24-hour grant for a product, chain, collection, finalized block and starting position. A grant covers 2–1000 distinct pages of 100 rows, within the dataset’s availability. Request the data URL with access=snapshot&snapshot=<indexedThrough> and an optional cursor belonging to that snapshot. The purchase response contains chainId, collection, kind, indexedThrough, startBlock, accessToken, expiresAt in Unix seconds, maxPages, pageSize and cursor.

Read that same product with snapshot=<indexedThrough> and the Pando-Data-Access header. Omit access and Payment-Signature. Use the starting cursor or the last nextCursor. Keep the access token private. Retries of the same authorized position use the same slot. A different scope, out-of-order unread position or exhausted budget returns 409. An unknown or expired well-formed token returns 410. Continue sparse inventory pages until the cursor is null. A lost grant purchase response can recover the same token and expiry by replaying the exact signed purchase request.

Decoded payment challenge example#

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "x402Version": 2,
  "resource": {
    "url": "https://data.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/activity?limit=2",
    "description": "Finalized Ethereum NFT transfer snapshot",
    "mimeType": "application/json"
  },
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "amount": "100000",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "payTo": "0x1111111111111111111111111111111111111111",
      "maxTimeoutSeconds": 120,
      "extra": {
        "name": "USDC",
        "version": "2",
        "assetTransferMethod": "eip3009"
      }
    }
  ]
}

GET /v1/catalogue#

Read registered collection statuses on one NFT chain ordered by address, including records that are still awaiting review. Pass the last page’s nextCursor as an exclusive address boundary.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer No NFT chain. 1 1 or 57073.
limit integer No Maximum rows to return. 50 1–100.
cursor address No Previous nextCursor. First page. Keep the same chain.

Response fields#

Field Type Meaning
data array Collection status records.
nextCursor address or null Exclusive address continuation.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.

Example request#

bash
curl 'https://data.example/v1/catalogue?chainId=1&limit=1'

Example response#

json
{
  "data": [
    {
      "chainId": 1,
      "collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
      "status": "requested",
      "startBlock": null,
      "indexedThrough": null,
      "indexState": null,
      "finalizedHead": null,
      "lastScanAt": null,
      "declineReason": null
    }
  ],
  "nextCursor": null
}

GET /v1/collections/:chainId/:collection/status#

Read free review and index status. This route reads stored observations.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

Response fields#

Field Type Meaning
chainId, collection integer and address Collection identity.
status string requested, declined, approved, settlement_pending or active.
startBlock, indexedThrough, finalizedHead integers or null Approved start, committed indexed head and last observed finalized head.
indexState string or null awaiting_first_scan, catching_up, caught_up, stalled or coverage_unverified.
lastScanAt UTC string or null Last scan attempt.
declineReason string or null unsupported_standard, insufficient_evidence or security_concern.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
404 not_found Collection or payment is unknown.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.

Example request#

bash
curl https://data.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/status

Example response#

json
{
  "chainId": 1,
  "collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
  "status": "requested",
  "startBlock": null,
  "indexedThrough": null,
  "indexState": null,
  "finalizedHead": null,
  "lastScanAt": null,
  "declineReason": null
}

GET /v1/collections/:chainId/:collection/capabilities#

Read the reviewed vault mapping and availability of bounded snapshot access. Unsupported custody returns a successful response with supported false.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

Response fields#

Field Type Meaning
chainId, collection integer and address Identity.
vaultInventory object supported and vaults, with venue and custody address per vault.
snapshotAccess object, optional maxPages, pageSize and durationSeconds.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.

Example request#

bash
curl https://data.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/capabilities

Example response#

json
{
  "chainId": 1,
  "collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
  "vaultInventory": {
    "supported": true,
    "vaults": [
      {
        "venue": "nftx-v2",
        "custodyAddress": "0x9a09eec78998924c24b287f0576253ffa9e87c21"
      },
      {
        "venue": "nftx-v4",
        "custodyAddress": "0xb4c5b5235b98114e9dc227b54e088c11680b2385"
      }
    ]
  }
}

POST /v1/collections/:chainId/:collection/request#

Request a free indexing review. Calling again returns its existing status and preserves the decision.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

The request has no body.

Response fields#

Field Type Meaning
chainId, collection integer and address Collection identity.
status string requested, declined, approved, settlement_pending or active.
startBlock, indexedThrough, finalizedHead integers or null Approved start, committed indexed head and last observed finalized head.
indexState string or null awaiting_first_scan, catching_up, caught_up, stalled or coverage_unverified.
lastScanAt UTC string or null Last scan attempt.
declineReason string or null unsupported_standard, insufficient_evidence or security_concern.

Cache. Cache-Control: no-store.

Limit. 10 new collection requests per minute per visitor.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
429 rate_limited Too many new collection requests.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.

Example request#

bash
curl \
  -X POST https://data.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/request

Example response#

json
{
  "chainId": 1,
  "collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
  "status": "requested",
  "startBlock": null,
  "indexedThrough": null,
  "indexState": null,
  "finalizedHead": null,
  "lastScanAt": null,
  "declineReason": null
}

POST /v1/collections/:chainId/:collection/activate#

Obtain or settle the one-time indexing activation after approval. An active collection with no payment header returns its current status.

Note. The paying operator’s wallet signs the reviewed USDC authorization. The facilitator verifies and settles it.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

The request has no body.

Response fields#

Field Type Meaning
chainId, collection integer and address Collection identity.
status string requested, declined, approved, settlement_pending or active.
startBlock, indexedThrough, finalizedHead integers or null Approved start, committed indexed head and last observed finalized head.
indexState string or null awaiting_first_scan, catching_up, caught_up, stalled or coverage_unverified.
lastScanAt UTC string or null Last scan attempt.
declineReason string or null unsupported_standard, insufficient_evidence or security_concern.
Payment-Required, Payment-Response headers Payment challenge and settlement receipt where applicable.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
404 not_found Collection or payment is unknown.
402 — Read the x402 challenge from Payment-Required. The library body is {} or an object with an error string.
409 unprocessable Current review, index, payment or grant state prevents this operation.
410 unprocessable A supplied grant is unknown or has expired.
422 unprocessable Unsupported custody mapping or invalid deployment coverage.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Provider origin, payment or index configuration is missing.

Example request#

bash
curl \
  -X POST https://data.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/activate

Example response#

json
{
  "error": {
    "type": "unprocessable",
    "message": "Collection is awaiting operator approval"
  }
}

GET /v1/collections/:chainId/:collection/activity#

Read finalized ERC-721 transfers newest first, including mints and burns via the zero address. New cursors pin the indexed head. Legacy block and log cursors use the current indexed head.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.
limit integer No Maximum rows to return. 100 1–100.
cursor string No Previous position. First page. Keep the same dataset and scope.
refresh integer No Read a newer finalized head than this one. No freshness floor. First page only.
access string No Buy a bounded snapshot grant. Single page. snapshot with snapshot block.
snapshot integer No Pinned head for grant purchase or a grant read. Snapshot chosen by the provider for individual pages. —

Response fields#

Field Type Meaning
chainId, collection, startBlock, indexedThrough integer, address and integers Collection identity and inclusive block coverage.
data array Rows contain block, logIndex, transactionHash, tokenId, from, to.
nextCursor string or null Continuation in this dataset. Null ends the traversal.
coverage string, optional observed-transfers for vault inventory.
Payment-Required, Payment-Response headers Challenge and receipt on paid reads or grant purchase.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
404 not_found Collection or payment is unknown.
402 — Read the x402 challenge from Payment-Required. The library body is {} or an object with an error string.
409 unprocessable Current review, index, payment or grant state prevents this operation.
410 unprocessable A supplied grant is unknown or has expired.
422 unprocessable Unsupported custody mapping or invalid deployment coverage.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Provider origin, payment or index configuration is missing.

Example request#

bash
curl 'https://data.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/activity?limit=2'

Example response#

json
{
  "error": {
    "type": "unprocessable",
    "message": "Collection has no active index"
  }
}

A settled activity page has this shape.

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "chainId": 1,
  "collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
  "startBlock": 26000000,
  "indexedThrough": 26556600,
  "data": [
    {
      "block": 26556600,
      "logIndex": 1,
      "transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "tokenId": "344",
      "from": "0x1111111111111111111111111111111111111111",
      "to": "0x2222222222222222222222222222222222222222"
    }
  ],
  "nextCursor": null
}

GET /v1/collections/:chainId/:collection/ownership#

Read the last observed transfers in numeric token order, excluding burns and tokens outside coverage. A cursor pins the first page’s indexed head.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.
limit integer No Maximum rows to return. 100 1–100.
cursor string No Previous position. First page. Keep the same dataset and scope.
refresh integer No Read a newer finalized head than this one. No freshness floor. First page only.
access string No Buy a bounded snapshot grant. Single page. snapshot with snapshot block.
snapshot integer No Pinned head for grant purchase or a grant read. Snapshot chosen by the provider for individual pages. —

Response fields#

Field Type Meaning
chainId, collection, startBlock, indexedThrough integer, address and integers Collection identity and inclusive block coverage.
data array Rows contain tokenId, owner, lastTransferBlock, lastTransferLogIndex.
nextCursor string or null Continuation in this dataset. Null ends the traversal.
coverage string, optional observed-transfers for vault inventory.
Payment-Required, Payment-Response headers Challenge and receipt on paid reads or grant purchase.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
404 not_found Collection or payment is unknown.
402 — Read the x402 challenge from Payment-Required. The library body is {} or an object with an error string.
409 unprocessable Current review, index, payment or grant state prevents this operation.
410 unprocessable A supplied grant is unknown or has expired.
422 unprocessable Unsupported custody mapping or invalid deployment coverage.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Provider origin, payment or index configuration is missing.

Example request#

bash
curl 'https://data.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/ownership?limit=2'

Example response#

json
{
  "error": {
    "type": "unprocessable",
    "message": "Collection has no active index"
  }
}

A settled ownership page has this shape.

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "chainId": 1,
  "collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
  "startBlock": 26000000,
  "indexedThrough": 26556600,
  "data": [
    {
      "tokenId": "344",
      "owner": "0x1111111111111111111111111111111111111111",
      "lastTransferBlock": 26556600,
      "lastTransferLogIndex": 1
    }
  ],
  "nextCursor": null
}

GET /v1/collections/:chainId/:collection/vault-inventory#

Read observed custody by reviewed NFTX vault, in numeric token order. An empty page can still advance. Custody establishes neither redemption eligibility nor floor status.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.
limit integer No Maximum rows to return. 100 1–100.
cursor string No Previous position. First page. Keep the same dataset and scope.
refresh integer No Read a newer finalized head than this one. No freshness floor. First page only.
access string No Buy a bounded snapshot grant. Single page. snapshot with snapshot block.
snapshot integer No Pinned head for grant purchase or a grant read. Snapshot chosen by the provider for individual pages. —

Response fields#

Field Type Meaning
chainId, collection, startBlock, indexedThrough integer, address and integers Collection identity and inclusive block coverage.
data array Rows contain tokenId, venue, custodyAddress, lastTransferBlock, lastTransferLogIndex.
nextCursor string or null Continuation in this dataset. Null ends the traversal.
coverage string, optional observed-transfers for vault inventory.
Payment-Required, Payment-Response headers Challenge and receipt on paid reads or grant purchase.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
404 not_found Collection or payment is unknown.
402 — Read the x402 challenge from Payment-Required. The library body is {} or an object with an error string.
409 unprocessable Current review, index, payment or grant state prevents this operation.
410 unprocessable A supplied grant is unknown or has expired.
422 unprocessable Unsupported custody mapping or invalid deployment coverage.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Provider origin, payment or index configuration is missing.

Example request#

bash
curl 'https://data.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/vault-inventory?limit=2'

Example response#

json
{
  "error": {
    "type": "unprocessable",
    "message": "Collection has no active index"
  }
}

A settled vault-inventory page has this shape.

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "chainId": 1,
  "collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
  "startBlock": 26000000,
  "indexedThrough": 26556600,
  "coverage": "observed-transfers",
  "data": [
    {
      "tokenId": "4",
      "venue": "nftx-v2",
      "custodyAddress": "0x9a09eec78998924c24b287f0576253ffa9e87c21",
      "lastTransferBlock": 26556600,
      "lastTransferLogIndex": 1
    }
  ],
  "nextCursor": null
}

GET /v1/admin/collections/:chainId/:collection#

Inspect the status, private review references and pending activation attempt.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

Response fields#

Field Type Meaning
chainId, collection integer and address Collection identity.
status string requested, declined, approved, settlement_pending or active.
startBlock, indexedThrough, finalizedHead integers or null Approved start, committed indexed head and last observed finalized head.
indexState string or null awaiting_first_scan, catching_up, caught_up, stalled or coverage_unverified.
lastScanAt UTC string or null Last scan attempt.
declineReason string or null unsupported_standard, insufficient_evidence or security_concern.
vettingReference, priorIndexReference, transaction, attempt nullable fields Private review and activation settlement details.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
401 unauthorized Provider admin token is required.
404 not_found Collection or payment is unknown.
409 unprocessable Current review, index, payment or grant state prevents this operation.
422 unprocessable Collection or start block cannot be indexed.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Indexer configuration is missing.

Example request#

bash
curl \
  -H 'Authorization: Bearer <your admin token>' https://data.example/v1/admin/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c

Example response#

json
{
  "error": {
    "type": "unauthorized",
    "message": "Operator authorization required"
  }
}

POST /v1/admin/collections/:chainId/:collection/approve#

Approve a requested collection or reconsider a decline.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

Request body#

Name Type Required Meaning Default Limits
startBlock integer Yes Inclusive coverage start. — 1–999999999.
vettingReference string Yes Private vetted review reference. — 1–500 characters.
json
{
  "startBlock": 26000000,
  "vettingReference": "example review reference"
}

Response fields#

Field Type Meaning
chainId, collection integer and address Collection identity.
status string requested, declined, approved, settlement_pending or active.
startBlock, indexedThrough, finalizedHead integers or null Approved start, committed indexed head and last observed finalized head.
indexState string or null awaiting_first_scan, catching_up, caught_up, stalled or coverage_unverified.
lastScanAt UTC string or null Last scan attempt.
declineReason string or null unsupported_standard, insufficient_evidence or security_concern.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
401 unauthorized Provider admin token is required.
404 not_found Collection or payment is unknown.
409 unprocessable Current review, index, payment or grant state prevents this operation.
422 unprocessable Collection or start block cannot be indexed.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Indexer configuration is missing.

Example request#

bash
curl \
  -X POST \
  -H 'Authorization: Bearer <your admin token>' \
  -H 'Content-Type: application/json' \
  --data '{"startBlock":26000000,"vettingReference":"example review reference"}' \
  https://data.example/v1/admin/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/approve

Example response#

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "error": {
    "type": "unauthorized",
    "message": "Operator authorization required"
  }
}

POST /v1/admin/collections/:chainId/:collection/decline#

Decline a collection with a public reason code and a private review reference.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

Request body#

Name Type Required Meaning Default Limits
reason string Yes Public decision category. — unsupported_standard, insufficient_evidence, security_concern.
vettingReference string Yes Private review reference. — 1–500 characters.
json
{
  "reason": "insufficient_evidence",
  "vettingReference": "example review reference"
}

Response fields#

Field Type Meaning
chainId, collection integer and address Collection identity.
status string requested, declined, approved, settlement_pending or active.
startBlock, indexedThrough, finalizedHead integers or null Approved start, committed indexed head and last observed finalized head.
indexState string or null awaiting_first_scan, catching_up, caught_up, stalled or coverage_unverified.
lastScanAt UTC string or null Last scan attempt.
declineReason string or null unsupported_standard, insufficient_evidence or security_concern.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
401 unauthorized Provider admin token is required.
404 not_found Collection or payment is unknown.
409 unprocessable Current review, index, payment or grant state prevents this operation.
422 unprocessable Collection or start block cannot be indexed.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Indexer configuration is missing.

Example request#

bash
curl \
  -X POST \
  -H 'Authorization: Bearer <your admin token>' \
  -H 'Content-Type: application/json' \
  --data '{"reason":"insufficient_evidence","vettingReference":"example review reference"}' \
  https://data.example/v1/admin/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/decline

Example response#

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "error": {
    "type": "unauthorized",
    "message": "Operator authorization required"
  }
}

POST /v1/admin/collections/:chainId/:collection/adopt#

Activate previously reviewed and indexed coverage without payment. The provider validates the start block against the chain and schedules indexing.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

Request body#

Name Type Required Meaning Default Limits
startBlock integer Yes Inclusive coverage start. — 1–999999999.
vettingReference string Yes Private review reference. — 1–500 characters.
priorIndexReference string Yes Private proof of previous coverage. — 1–500 characters.
json
{
  "startBlock": 26000000,
  "vettingReference": "example review reference",
  "priorIndexReference": "example index reference"
}

Response fields#

Field Type Meaning
chainId, collection integer and address Collection identity.
status string requested, declined, approved, settlement_pending or active.
startBlock, indexedThrough, finalizedHead integers or null Approved start, committed indexed head and last observed finalized head.
indexState string or null awaiting_first_scan, catching_up, caught_up, stalled or coverage_unverified.
lastScanAt UTC string or null Last scan attempt.
declineReason string or null unsupported_standard, insufficient_evidence or security_concern.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
401 unauthorized Provider admin token is required.
404 not_found Collection or payment is unknown.
409 unprocessable Current review, index, payment or grant state prevents this operation.
422 unprocessable Collection or start block cannot be indexed.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Indexer configuration is missing.

Example request#

bash
curl \
  -X POST \
  -H 'Authorization: Bearer <your admin token>' \
  -H 'Content-Type: application/json' \
  --data '{"startBlock":26000000,"vettingReference":"example review reference","priorIndexReference":"example index reference"}' \
  https://data.example/v1/admin/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/adopt

Example response#

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "error": {
    "type": "unauthorized",
    "message": "Operator authorization required"
  }
}

POST /v1/admin/collections/:chainId/:collection/reconcile#

Resolve an expired activation reservation after confirming its payment outcome.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.

Request body#

Name Type Required Meaning Default Limits
attemptId UUID Yes Activation reservation ID. — —
transactionHash hex string or null Yes Finalized settlement hash or null after confirming no charge. — —
json
{
  "attemptId": "11111111-1111-4111-8111-111111111111",
  "transactionHash": null
}

Response fields#

Field Type Meaning
chainId, collection integer and address Collection identity.
status string requested, declined, approved, settlement_pending or active.
startBlock, indexedThrough, finalizedHead integers or null Approved start, committed indexed head and last observed finalized head.
indexState string or null awaiting_first_scan, catching_up, caught_up, stalled or coverage_unverified.
lastScanAt UTC string or null Last scan attempt.
declineReason string or null unsupported_standard, insufficient_evidence or security_concern.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
401 unauthorized Provider admin token is required.
404 not_found Collection or payment is unknown.
409 unprocessable Current review, index, payment or grant state prevents this operation.
422 unprocessable Collection or start block cannot be indexed.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Indexer configuration is missing.

Example request#

bash
curl \
  -X POST \
  -H 'Authorization: Bearer <your admin token>' \
  -H 'Content-Type: application/json' \
  --data '{"attemptId":"11111111-1111-4111-8111-111111111111","transactionHash":null}' \
  https://data.example/v1/admin/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/reconcile

Example response#

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "error": {
    "type": "unauthorized",
    "message": "Operator authorization required"
  }
}

GET /v1/admin/collections/:chainId/:collection/page-payments/:paymentId#

Inspect an individual dataset payment reservation.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.
paymentId hex string Yes Payment reservation ID returned by the provider. — 64 lowercase hex characters, no prefix.

Response fields#

Field Type Meaning
chainId, collection, resource, payer, nonce, validBefore identity fields NFT chain, collection, resource and USDC authorization with Unix-second expiry.
network, asset, payTo, amount, transaction, status settlement fields Terms, settlement hash and state.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
401 unauthorized Provider admin token is required.
404 not_found Collection or payment is unknown.
409 unprocessable Current review, index, payment or grant state prevents this operation.
422 unprocessable Collection or start block cannot be indexed.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Indexer configuration is missing.

Example request#

bash
curl \
  -H 'Authorization: Bearer <your admin token>' https://data.example/v1/admin/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/page-payments/0000000000000000000000000000000000000000000000000000000000000000

Example response#

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "error": {
    "type": "unauthorized",
    "message": "Operator authorization required"
  }
}

POST /v1/admin/collections/:chainId/:collection/page-payments/:paymentId/reconcile#

Reconcile an expired dataset payment. The original signed request can then recover the stored outcome.

Path and query parameters#

Name Type Required Meaning Default Limits
chainId integer Yes NFT chain. — 1 or 57073.
collection address Yes NFT contract. — 20 bytes, 0x prefix.
paymentId hex string Yes Payment reservation ID returned by the provider. — 64 lowercase hex characters, no prefix.

Request body#

Name Type Required Meaning Default Limits
transactionHash hex string or null Yes Finalized settlement hash or null after confirming no charge. — —
json
{
  "transactionHash": null
}

Response fields#

Field Type Meaning
status, transaction string and hex string or null Reconciled reservation. The remaining fields match the payment inspection route.

Cache. Cache-Control: no-store.

Limit. No route-specific limiter.

Errors#

Status Code Meaning
400 invalid_request A path, query or body field failed validation.
401 unauthorized Provider admin token is required.
404 not_found Collection or payment is unknown.
409 unprocessable Current review, index, payment or grant state prevents this operation.
422 unprocessable Collection or start block cannot be indexed.
503 upstream_error The snapshot, provider or payment service is temporarily unavailable.
503 not_configured Indexer configuration is missing.

Example request#

bash
curl \
  -X POST \
  -H 'Authorization: Bearer <your admin token>' \
  -H 'Content-Type: application/json' \
  --data '{"transactionHash":null}' \
  https://data.example/v1/admin/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/page-payments/0000000000000000000000000000000000000000000000000000000000000000/reconcile

Example response#

Not verified. This example is written from the response's schema and was not produced by a running site.

json
{
  "error": {
    "type": "unauthorized",
    "message": "Operator authorization required"
  }
}

Pando Exchange is software published by Simple Things Ltd. Each marketplace made with it is run by its operator, in the operator's own account.