Data Inc.

Developers / Build / API endpoints

API endpoints

Fourteen Protocol API operations covering provisioning, billing, identity verification, paginated receipt history, Vulture ingest and proofs, and webhook management.

Paths, headers and fields mirror The IDIA Hub's Protocol API implementation, checked November 7, 2026. Keys and credit rates are issued per organization inside the Hub; source review is not an independent production assessment.

Base URL and headers

All endpoints live under https://zxyngqciipcvveigrzqt.supabase.co/functions/v1/protocol-api. Send your IDIA key in x-api-key (Authorization: Bearer <IDIA key> is also accepted) and Content-Type: application/json on POST requests.

Errors come back as { error: { code, message, details?, resolution_url?, trace_id } }. Quote the trace_id if you contact support.

MethodPathWhat it does
GET/v1/auth/provision-statusProvisioned services, applied credit rate and Synapse Credit balance
POST/v1/utility/validateIdentity Verification: match hashed targets against consented identities
GET/v1/utility/receiptsCursor-paginated receipt history owned by the key account
GET/v1/utility/receipts/{liability_receipt_id}One receipt with masked IDIA Key, credits charged and Base proof
POST/v1/vulture/ingestSend records in through The Vulture
GET/v1/vulture/verify/{batch_id}Merkle proof and Base anchor for an ingested batch
POST/v1/features/sessions?topic=...Start or reuse a paid one-hour topic session
GET/v1/features/latest?topic=...Latest aggregate packet; requires an active session
GET/v1/features/stream?topic=...Resumable SSE window; requires an active session
GET/v1/billing/balanceWallet balance, organization and provisioned rate cards
POST/v1/webhooksRegister an HTTPS receiver and obtain its signing secret once
GET/v1/webhooksList active receivers owned by the key account
DELETE/v1/webhooks/{id}Disable an owned receiver
POST/v1/webhooks/testSend a signed test to one or all active receivers

POST /v1/utility/validate

Send up to 1,000 SHA-256 hashes (64 lowercase hex characters, no 0x). target_type is one of hashed_ip, hashed_maid, hashed_email, hashed_phone or hashed_identifier. An Idempotency-Key header (UUID recommended, max 128 characters) is required, so a retry is never charged twice.

Default-deny: targets without an authorized consent come back as denied with no receipt. Credits are charged in one step, only for authorized matches, and each match returns a liability_receipt_id. With X-IDIA-Environment: sandbox, no consent records are read: every target returns consent_status: denied, guid (IDIA Key): null and liability_receipt_id: null, billing.synapse_credits_deducted is 0, and would_cost_if_all_authorized is an estimate, not a debit.

curl -X POST https://zxyngqciipcvveigrzqt.supabase.co/functions/v1/protocol-api/v1/utility/validate \
  -H "x-api-key: $IDIA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "target_type": "hashed_email",
    "hash_algorithm": "sha256",
    "targets": ["<64-char sha256 hex>"]
  }'

GET /v1/utility/receipts

Read receipt history with an Identity Verification key. The query is restricted to the key owner's extraction events; a Mesh Node key is not accepted. This read does not spend Synapse Credits. Source verified in Hub commit 5c560ca5 on November 7, 2026; production deployment has not been independently exercised.

Results are newest first, ordered by created_at DESC then id DESC. Opaque Base64url cursors encode the timestamp and ID boundary, avoiding offset drift when new receipts arrive. Pass pagination.next_cursor as starting_after to fetch older receipts, or pagination.prev_cursor as ending_before to fetch newer receipts. Never send both. The implementation does not accept a cursor alias; keep filters unchanged while traversing pages. Keyset paging is not an immutable snapshot: anchoring status and other existing records may change.

The response contains object: list, data, pagination, order: timestamp_desc and bulk_audit. Each item has liability_receipt_id, status, payment_status, timestamp, enterprise_tenant_id, masked_guid, synapse_credits_charged and blockchain_proof. An unanchored receipt has blockchain_proof: null; an anchored receipt has network: base_mainnet and aca_hash. No basescan_url or transaction hash is returned by this endpoint.

pagination.has_more means older pages exist, including when you have navigated backward. next_cursor and prev_cursor are nullable. bulk_audit.hub_export points to https://hub.thebigidia.com/saved-activity; bulk_audit.on_chain describes reconciliation via Base event logs. This is an audit reference, not an API bulk export or proof that every ledger receipt has anchored.

QueryAccepted valueBehavior
limitInteger 1–100; default 50An omitted or empty limit uses 50; invalid values return 400 invalid_limit
starting_afterOpaque next_cursorFetch strictly older rows; malformed cursors return 400 invalid_cursor
ending_beforeOpaque prev_cursorFetch strictly newer rows, returned newest first; mutually exclusive with starting_after
sinceISO-8601 timestampInclusive lower bound (timestamp >= since); invalid dates return 400 invalid_date
untilISO-8601 timestampExclusive upper bound (timestamp < until); invalid dates return 400 invalid_date
statusanchored_l2 or ledger_recordedFilter by ACA hash presence; other values return 400 invalid_status
# First page; use the returned next_cursor as starting_after for older pages.
curl --get "https://zxyngqciipcvveigrzqt.supabase.co/functions/v1/protocol-api/v1/utility/receipts" \
  -H "x-api-key: $IDIA_API_KEY" \
  --data-urlencode "limit=50" \
  --data-urlencode "since=2026-11-01T00:00:00Z" \
  --data-urlencode "until=2026-11-08T00:00:00Z"

# After saving next_cursor in NEXT_CURSOR:
curl --get "https://zxyngqciipcvveigrzqt.supabase.co/functions/v1/protocol-api/v1/utility/receipts" \
  -H "x-api-key: $IDIA_API_KEY" \
  --data-urlencode "limit=50" \
  --data-urlencode "since=2026-11-01T00:00:00Z" \
  --data-urlencode "until=2026-11-08T00:00:00Z" \
  --data-urlencode "starting_after=$NEXT_CURSOR"

GET /v1/utility/receipts/{id}

Returns liability_receipt_id, status, payment_status, timestamp, enterprise_tenant_id, masked_guid (for example abcd***wxyz), synapse_credits_charged and blockchain_proof. Status is ledger_recorded until the ACA hash is anchored, then anchored_l2 with { network: "base_mainnet", aca_hash }. Proof is null before anchoring; no transaction hash or Basescan URL is returned.

Raw data bundles

The API serves data streams. Raw data bundles are only released after T-1-P Technical Vetting, and are arranged with the sales team rather than through a public endpoint.

NextFeatures & data streams