PrismCrawl Async API
Submit a search asynchronously, check status and retrieve its result.
Submit a search asynchronously, check status and retrieve its result.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/prismcrawl-com:prismcrawl-com-async-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PrismCrawl Async API
version: 1.0.0
summary: Search, places, app catalogs, products, and reviews as structured data.
description: Retrieve search results, places, products, and public reviews as structured JSON. Supported endpoints can also return the encoded source response. Each completed search consumes one credit, including recognized empty, unavailable, or changed-source results returned with HTTP 200. Google Link Decoder charges one credit per completed batch, including source-confirmed unusable links. Operational failures without usable results return an uncharged error. Validation, authentication, and operational failures remain errors and do not consume a search credit. Continuations are opaque, account-bound, and expire after one hour; restart pagination when a token expires.
contact:
name: PrismCrawl support
email: support@prismcrawl.com
servers:
- url: https://api.prismcrawl.com
description: PrismCrawl API
tags:
- name: Async
description: Submit a search asynchronously, check status and retrieve its result.
paths:
/v1/async/requests/{job_id}:
get:
tags:
- Async
operationId: getAsyncRequest
summary: Check async request status
description: 'Send Prefer: respond-async, a unique Idempotency-Key, and webhook_url plus webhook_secret in the JSON body. The callback receives the completed endpoint response by POST, including errors; Accept: text/html requests direct HTML on supported endpoints. Prism-Result-Status carries the search HTTP status. Verify Prism-Signature (t=UNIX_SECONDS,v1=HEX_HMAC_SHA256) over the exact timestamp, a period, and the raw request body bytes, using webhook_secret. Compare signatures in constant time, reject timestamps more than five minutes old, and deduplicate Prism-Event-Id. Retries retain the same event ID and result, with a fresh signature. Return any 2xx status within 10 seconds to acknowledge delivery. Failures and redirects are retried up to eight attempts over at most one hour; no search is repeated or charged for callback retries. Retry uncertain submissions with the same key and identical request, callback and Accept header; changes return 409. Keys are account-scoped and retained for at least 24 hours. New async requests require a callback; previously accepted jobs remain readable. Optional status/result URLs remain available for troubleshooting, no more often than every five seconds; results expire one hour after completion and are limited to 8 MiB. Async bodies are limited to 64 KiB and cannot use zero_trace=true. Admission and result reads are free; normal billing applies once to a completed lookup. History replay starts a new synchronous search and does not retain callback credentials.'
security:
- ApiToken: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
pattern: ^v3-[a-f0-9]{96}$
responses:
'200':
description: Current job metadata.
content:
application/json:
schema:
type: object
required:
- success
- request_id
- data
properties:
success:
const: true
request_id:
type: string
format: uuid
description: The request ID used in history and the final response.
data:
type: object
required:
- job_id
- status
- status_url
- result_url
- accepted_at
- result_expires_at
- result_status
- error
- webhook
properties:
job_id:
type: string
pattern: ^v3-[a-f0-9]{96}$
status:
type: string
enum:
- queued
- running
- complete
- failed
- expired
status_url:
type: string
result_url:
type: string
accepted_at:
type: string
format: date-time
result_expires_at:
type:
- string
- 'null'
format: date-time
result_status:
type:
- integer
- 'null'
error:
type:
- string
- 'null'
webhook:
type: object
required:
- status
- attempts
- response_status
properties:
status:
type: string
enum:
- not_configured
- waiting
- pending
- sending
- delivered
- failed
attempts:
type: integer
minimum: 0
response_status:
type: integer
description: Last callback receiver HTTP status, or 0 when unavailable.
'401':
$ref: '#/components/responses/Unauthorized'
'404':
description: Unknown job or job owned by a different account.
'429':
description: Polling too frequently. Honor Retry-After.
'503':
description: Temporarily unavailable or execution failed. Honor Retry-After and inspect history before submitting new work.
/v1/async/requests/{job_id}/result:
get:
tags:
- Async
operationId: getAsyncResult
summary: Retrieve an async result
description: 'Send Prefer: respond-async, a unique Idempotency-Key, and webhook_url plus webhook_secret in the JSON body. The callback receives the completed endpoint response by POST, including errors; Accept: text/html requests direct HTML on supported endpoints. Prism-Result-Status carries the search HTTP status. Verify Prism-Signature (t=UNIX_SECONDS,v1=HEX_HMAC_SHA256) over the exact timestamp, a period, and the raw request body bytes, using webhook_secret. Compare signatures in constant time, reject timestamps more than five minutes old, and deduplicate Prism-Event-Id. Retries retain the same event ID and result, with a fresh signature. Return any 2xx status within 10 seconds to acknowledge delivery. Failures and redirects are retried up to eight attempts over at most one hour; no search is repeated or charged for callback retries. Retry uncertain submissions with the same key and identical request, callback and Accept header; changes return 409. Keys are account-scoped and retained for at least 24 hours. New async requests require a callback; previously accepted jobs remain readable. Optional status/result URLs remain available for troubleshooting, no more often than every five seconds; results expire one hour after completion and are limited to 8 MiB. Async bodies are limited to 64 KiB and cannot use zero_trace=true. Admission and result reads are free; normal billing applies once to a completed lookup. History replay starts a new synchronous search and does not retain callback credentials.'
security:
- ApiToken: []
parameters:
- name: job_id
in: path
required: true
schema:
type: string
pattern: ^v3-[a-f0-9]{96}$
responses:
'200':
description: The original search response, with the originating endpoint's response schema, output format, request ID and credit headers.
content:
application/json:
schema:
type: object
'202':
description: Durably accepted for signed webhook delivery, or an existing job for this Idempotency-Key. A 202 response does not mean the search succeeded. Status and result URLs remain available for troubleshooting.
headers:
Location:
schema:
type: string
description: Status URL.
Retry-After:
schema:
type: integer
example: 5
Preference-Applied:
schema:
type: string
const: respond-async
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
type: object
required:
- success
- request_id
- data
properties:
success:
const: true
request_id:
type: string
format: uuid
description: The request ID used in history and the final response.
data:
type: object
required:
- job_id
- status
- status_url
- result_url
- accepted_at
- result_expires_at
- result_status
- error
- webhook
properties:
job_id:
type: string
pattern: ^v3-[a-f0-9]{96}$
status:
type: string
enum:
- queued
- running
- complete
- failed
- expired
status_url:
type: string
result_url:
type: string
accepted_at:
type: string
format: date-time
result_expires_at:
type:
- string
- 'null'
format: date-time
result_status:
type:
- integer
- 'null'
error:
type:
- string
- 'null'
webhook:
type: object
required:
- status
- attempts
- response_status
properties:
status:
type: string
enum:
- not_configured
- waiting
- pending
- sending
- delivered
- failed
attempts:
type: integer
minimum: 0
response_status:
type: integer
description: Last callback receiver HTTP status, or 0 when unavailable.
'401':
$ref: '#/components/responses/Unauthorized'
'404':
description: Unknown job or job owned by a different account.
'410':
description: Result retention expired.
'429':
description: Polling too frequently. Honor Retry-After.
'503':
description: Temporarily unavailable or execution failed. Honor Retry-After and inspect history before submitting new work.
default:
description: The original search's error status and error envelope, if execution failed.
components:
schemas:
ErrorResponse:
type: object
required:
- success
- request_id
- data
- error
properties:
success:
type: boolean
const: false
request_id:
type: string
format: uuid
data:
type: 'null'
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
rule:
type: string
reset_at:
type: string
format: date-time
headers:
RequestId:
description: Unique request identifier. Include it when contacting support.
schema:
type: string
format: uuid
responses:
Unauthorized:
description: The API token is missing, invalid, expired, or revoked.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
missing:
summary: Missing API token
value:
success: false
request_id: 66ca8deb-1dc2-4017-865f-c4fb0e3c7c0d
data: null
error:
code: missing_api_key
message: missing x-api-key
invalid:
summary: Invalid API token
value:
success: false
request_id: 66ca8deb-1dc2-4017-865f-c4fb0e3c7c0d
data: null
error:
code: invalid_api_key
message: invalid api key
securitySchemes:
ApiToken:
type: apiKey
in: header
name: x-api-key
description: Create or rotate your API token in the PrismCrawl dashboard.
externalDocs:
description: PrismCrawl website
url: https://www.prismcrawl.com