aria-partner-api

Scan API

A scan request spends one on-demand credit on a member and runs that product’s site searches. Trial Scan is the only on-demand product. Subscriptions scan on a built-in cadence and don’t use this route. Per-site scan history for a member stays on GET /api/v1/partner/members/{member_id}/scans/.

Resource Path Purpose
Member scan requests /api/v1/partner/members/{member_id}/scan_requests/ POST spend one credit and queue a scan; GET the member’s scan requests, newest first
Scan request /api/v1/partner/scan_requests/{scan_request_id}/ GET one scan request and its searches

Auth: Bearer token required. See Authentication.


Request a scan

POST /api/v1/partner/members/{member_id}/scan_requests/

Spends one credit of product_id on the member and queues the scan. If the member has no credit of that product, Kanary assigns one from your partner’s credit pool first. When neither the member nor the pool has a credit, the call returns 402 (error: no_actions). When the request fails, no scan is queued and no credit is spent.

Request

Part Field Required Description
Body product_id Yes An on-demand product id, such as Trial Scan, from the Product API
Header Idempotency-Key No 1–64 characters. Repeating a request with the same key and body returns the original scan request and does not spend another credit. Reusing a key with a different body returns 409 (error: idempotency_conflict)

Trial Scan searches by phone number and by name plus location. The member needs a phone number, or a name and an address, or the call returns 400 (error: trial_identifier_required).

POST /api/v1/partner/members/67890/scan_requests/
Content-Type: application/json
Authorization: Bearer <api_key>
Idempotency-Key: trial-scan-67890-1

{
  "product_id": 301
}

Success (201 Created)

Returns the scan request. A replay with the same Idempotency-Key returns the same body as the first request, as it was when queued.

{
  "id": 4,
  "member_id": 67890,
  "product_id": 301,
  "kind": "paid",
  "status": "queued",
  "successful_count": 0,
  "min_successes": 5,
  "queued_at": "2026-10-30T04:03:44.000000+00:00",
  "started_at": null,
  "finished_at": null,
  "searches": [
    { "site_id": 12, "site_domain": "spokeo.com", "status": "scheduled" },
    { "site_id": 45, "site_domain": "411.com", "status": "scheduled" }
  ]
}

Errors

Status Condition
400 product_id missing or not an integer; no product has this id (error: unknown_product); the product isn’t an on-demand product (error: product_not_on_demand); Idempotency-Key empty or over 64 characters (error: invalid_idempotency_key); the member has no identifier the scan can search on (error: trial_identifier_required); the member or its account is terminated (error: member_inactive); no site in the product’s catalog can search on the member’s profile (error: catalog_unavailable)
402 Neither the member nor your partner’s pool has a credit of this product (error: no_actions)
403 Missing or invalid API key, or partner inactive
404 Member not found
409 A scan is already in progress for this member (error: scan_in_progress), or the Idempotency-Key was used with a different body (error: idempotency_conflict)

Error bodies use error and detail. Scan blockers (no_actions, scan_in_progress, trial_identifier_required, member_inactive, catalog_unavailable) also include member_id:

{
  "error": "no_actions",
  "detail": "Member 67890 has no Trial Scan credits, and none are left in the partner pool",
  "member_id": 67890
}

List a member’s scan requests

GET /api/v1/partner/members/{member_id}/scan_requests/

A paginated list of the member’s scan requests, newest first. See Pagination.

Errors

Status Condition
403 Missing or invalid API key, or partner inactive
404 Member not found

Retrieve a scan request

GET /api/v1/partner/scan_requests/{scan_request_id}/

Returns one scan request. Poll this route until status is complete, exhausted, or cancelled.

Errors

Status Condition
403 Missing or invalid API key, or partner inactive
404 Scan request not found, or its member is terminated

Scan request object

Field Type Description
id integer Scan request id
member_id integer Member scanned
product_id integer Product the credit was spent on
kind string "paid" for a request a credit paid for. "pii_rescan" for the one free rescan a member gets when PII is added after their first scan
status string queued, running, complete, exhausted, or cancelled
successful_count integer Searches that succeeded. Set when the request finishes
min_successes integer Successful searches needed for complete. Trial Scan needs 5
queued_at string When the request was queued (UTC, ISO 8601)
started_at string | null When the first search started
finished_at string | null When the request finished
searches array One entry per site search: site_id, site_domain, and status

A request is complete when at least min_successes searches succeeded, and exhausted when every search has ended with fewer. The credit is spent either way.

Each search status is scheduled or in_progress while it runs, then success or failure.

Exposures the scan finds are on GET /api/v1/partner/members/{member_id}/exposures/. On a scan-only account, Trial Scan exposures end in BLOCKED because the member is not on a removal subscription. They move to ACTIVE when the account is upgraded to a removal subscription (Scan-only exposures).