Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/prismcrawl-com:prismcrawl-com-brave-api"
All apis
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.
Get an API 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 Specification
openapi: 3.2.0
info:
title: PrismCrawl Brave 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: Brave
description: Brave API endpoints.
paths:
/v1/brave/ai-mode:
post:
tags:
- Brave
summary: Brave AI Mode
description: 'Retrieve a Brave AI Mode answer and its sources. Send a new query with next_page_token to continue the conversation, keeping localization settings unchanged. Public proof and AI streaming can require up to 40 seconds on CPU-constrained runtimes.
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.'
operationId: brave_ai_mode
security:
- ApiToken: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Catalog_brave_ai_mode_Request'
examples:
standard:
summary: Brave AI Mode
value:
query: What is coffee?
responses:
'200':
description: Request completed. One credit is charged, including recognized empty or unavailable source results and source inventory changes discovered after a valid continuation is fetched. These completed responses may preserve verified partial results; operational failures remain errors.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
X-Credits-Remaining:
$ref: '#/components/headers/CreditsRemaining'
content:
text/html:
schema:
type: string
description: 'With Accept: text/html and HTML output, returns the HTML bytes directly.'
application/json:
schema:
$ref: '#/components/schemas/Catalog_brave_ai_mode_Response'
'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.
'400':
$ref: '#/components/responses/InvalidRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
description: No credits remain.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Idempotency-Key already belongs to different request parameters.
'429':
description: Account rate limit exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
$ref: '#/components/responses/ServiceFailure'
parameters:
- name: Prefer
in: header
required: false
schema:
type: string
enum:
- respond-async
description: Opt in to durable asynchronous execution.
- name: Idempotency-Key
in: header
required: false
schema:
type: string
minLength: 1
maxLength: 128
pattern: ^[!-~]+$
description: 'Required with Prefer: respond-async. For example, a fresh UUID per intended search; reuse it for submission retries.'
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
Catalog_brave_ai_mode_Response:
type: object
required:
- success
- request_id
- data
properties:
success:
type: boolean
const: true
request_id:
type: string
format: uuid
data:
anyOf:
- $ref: '#/components/schemas/MarkdownSearchData'
- $ref: '#/components/schemas/ProjectedSearchData'
- type: object
required:
- format
- content
properties:
format:
type: string
const: json
content:
properties:
has_next_page:
type: boolean
next_page_token:
description: Opaque continuation token valid for one hour and the same account. Retain search parameters, device, and result limit. Restart pagination if the token is expired or rejected; tokens from before the authenticated-token rollout cannot be reused.
type: string
results:
items:
properties:
address:
anyOf:
- type: string
- type: object
- items:
type: string
type: array
answer:
type: string
category:
type: string
coordinates:
properties:
latitude:
type: number
longitude:
type: number
type: object
required:
- latitude
- longitude
description:
type: string
id:
type: string
latitude:
type: number
longitude:
type: number
name:
type: string
phone:
type: string
position:
type: integer
rank:
type: integer
rating:
anyOf:
- type: number
- type: string
rating_max:
type: number
rating_source:
type: string
review_count:
anyOf:
- type: number
- type: string
snippet:
type: string
sources:
items:
properties:
title:
type: string
url:
type: string
type: object
required:
- title
- url
type: array
thumbnail:
type: string
title:
type: string
type:
type: string
url:
type: string
website:
type: string
followup_questions:
items:
type: string
type: array
type: object
required:
- address
- answer
- category
- coordinates
- description
- id
- latitude
- longitude
- name
- phone
- position
- rank
- rating
- rating_max
- rating_source
- review_count
- snippet
- sources
- thumbnail
- title
- type
- url
- website
- followup_questions
type: array
search_parameters:
properties:
coordinates:
properties:
latitude:
type: number
longitude:
type: number
type: object
required:
- latitude
- longitude
country:
type: string
device:
type: string
engine:
type: string
language:
type: string
operation:
type: string
pagination_limited:
description: True when further pagination is unavailable. A completed source-stale request can contain verified results or an empty array; next_page_token is an empty string.
type: boolean
pagination_reason:
description: stale_cursor means a valid continuation was fetched but its source inventory changed. The HTTP 200 response is billable; keep any verified results and restart pagination.
type: string
query:
type: string
safe:
type: string
type:
type: string
units_of_measurement:
type: string
location:
type: string
type: object
required:
- coordinates
- country
- device
- engine
- language
- operation
- pagination_limited
- pagination_reason
- query
- safe
- type
- units_of_measurement
- location
serp_features:
items:
properties:
confidence:
type: number
engine:
type: string
extracted_at:
type: string
id:
type: string
items:
items:
properties:
link:
type: string
product_id:
type: string
text:
type: string
thumbnail:
type: string
title:
type: string
type: object
required:
- link
- product_id
- text
- thumbnail
- title
type: array
links:
items:
properties:
title:
type: string
url:
type: string
type: object
required:
- title
- url
type: array
position:
properties:
absolute:
type: integer
type: object
required:
- absolute
source_result_ids:
items:
type: string
type: array
text:
type: string
title:
type: string
type:
type: string
data_cid:
type: string
popular_times:
type: object
additionalProperties:
type: array
items:
type: object
properties:
hour:
type: integer
busyness_percent:
type: number
description:
type: string
time:
type: string
required:
- hour
- busyness_percent
- description
- time
live_busyness:
type: object
properties:
day:
type: string
hour:
type: integer
busyness_percent:
type: number
description:
type: string
required:
- day
- hour
- busyness_percent
- description
type: object
required:
- confidence
- engine
- extracted_at
- id
- items
- links
- position
- source_result_ids
- text
- title
- type
- data_cid
- popular_times
- live_busyness
type: array
type: object
required:
- has_next_page
- next_page_token
- results
- search_parameters
- serp_features
- $ref: '#/components/schemas/GoogleHtmlSearchData'
MarkdownSearchData:
type: object
required:
- format
- content
properties:
format:
anyOf:
- const: ''
- type: string
const: md
content:
type: string
description: Markdown derived from the parsed result, after any json_restrictor selection.
GoogleHtmlSearchData:
type: object
required:
- format
- content
properties:
format:
anyOf:
- const: ''
- type: string
const: html+br+base64
content:
type: string
contentEncoding: base64
description: Base64-encoded bytes. Decode Base64 first, then decompress the result with Brotli. Available deferred or lazy-loaded thumbnail sources are placed in image src attributes, within size limits; image and video files are not downloaded. When rewrite_links is true, already-resolved opaque Google anchor links use their destination URLs. Unresolved links are preserved.
ProjectedSearchData:
type: object
required:
- format
- content
properties:
format:
anyOf:
- const: ''
- type: string
const: json
content:
type: object
additionalProperties: true
description: Only fields selected by json_restrictor. Selected fields retain their declared types and zero defaults.
Catalog_brave_ai_mode_Request:
type: object
additionalProperties: false
required:
- query
description: Retrieve a Brave AI Mode answer and its sources. Send a new query with next_page_token to continue the conversation, keeping localization settings unchanged. Public proof and AI streaming can require up to 40 seconds on CPU-constrained runtimes.
properties:
query:
type: string
description: Text to search for on the selected service. At most 8,192 UTF-8 bytes.
minLength: 1
device:
type: string
description: Device presentation for the source request.
enum:
- desktop
- mobile
- tablet
html:
type: boolean
description: Return the encoded original response rather than parsed JSON.
zero_trace:
type: boolean
description: Do not archive source or parsed response artifacts.
country:
type: string
description: Two-letter country or storefront code, such as us or gb.
enum:
- ar
- au
- at
- be
- br
- ca
- cl
- cn
- dk
- fi
- fr
- de
- gr
- hk
- in
- id
- it
- jp
- kr
- my
- mx
- nl
- nz
- 'no'
- pl
- pt
- ph
- ru
- sa
- sg
- za
- es
- se
- ch
- tw
- tr
- gb
- us
pattern: ^[A-Za-z]{2}$
language:
type: string
description: Provider-supported language code, such as en.
enum:
- az
- bg
- br
- ca
- cs
- cy
- da
- de
- el
- en
- es
- et
- eu
- fi
- fr
- gl
- hr
- hu
- id
- it
- ja
- ka
- ko
- lt
- lv
- ms
- nb
- nl
- pl
- pt
- ro
- ru
- sk
- sl
- sq
- sr
- sv
- sw
- th
- tr
- uk
- vi
- zh
coordinates:
type: object
required:
- latitude
- longitude
additionalProperties: false
properties:
latitude:
type: number
minimum: -90
maximum: 90
longitude:
type: number
minimum: -180
maximum: 180
description: Latitude and longitude for location targeting.
safe:
type: string
description: Provider safe-search filtering.
enum:
- 'off'
- moderate
- strict
units_of_measurement:
type: string
description: Metric or US customary units in the answer.
enum:
- metric
- us
next_page_token:
type: string
description: Copy the opaque next_page_token from the previous response using the same account, search parameters, device, and result limit. Tokens expire after one hour; restart pagination if rejected or expired.
minLength: 1
maxLength: 24576
location:
type: string
description: Named geographic search origin; mutually exclusive with coordinates. Resend the same name when continuing a conversation.
maxLength: 512
webhook_url:
type: string
format: uri
maxLength: 2048
description: 'Required with Prefer: respond-async. Public HTTPS callback URL on port 443, without credentials or a fragment. Receives the completed response by POST; redirects are not followed. Rejected on synchronous requests.'
webhook_secret:
type: string
minLength: 32
maxLength: 256
writeOnly: true
description: 'Required with Prefer: respond-async. A shared signing secret of 32–256 printable ASCII characters. Never returned in responses or request history.'
output:
type:
- string
- 'null'
enum:
- json
- html
- md
- null
default: json
description: 'Response content format. md returns Markdown in data.content with data.format=md; the JSON success/request envelope remains. Accept: text/markdown also selects Markdown unless output or html=true is explicit. html is an alias for html=true and retains the existing Brotli/Base64 source format.'
json_restrictor:
type:
- string
- 'null'
minLength: 1
maxLength: 4096
examples:
- results[].{title,url},has_next_page,next_page_token
description: Select fields within data.content for JSON or Markdown. Supports comma-separated paths, non-negative array indices, half-open slices [0:3] (either bound may be omitted), [] and .{nested,subqueries}. Up to128 selections and16 levels. Missing fields are omitted; selected declared fields retain their zero defaults. The request envelope and credit headers remain. Include next_page_token when pagination is needed. Incompatible with HTML output. This changes response presentation only; tracing-enabled history retains the complete JSON result.
no_cache:
type:
- boolean
- 'null'
default: false
description: Accepted for compatibility. Searches are always fetched without a result cache for either value; normal successful-request billing applies.
responses:
ServiceFailure:
description: The request could not be completed.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
internalFailure:
summary: Request failed
value:
success: false
request_id: 66ca8deb-1dc2-4017-865f-c4fb0e3c7c0d
data: null
error:
code: internal_failure
message: request failed. no quota has been deducted, please try again or contact support with the request ID.
overloaded:
summary: Service temporarily overloaded
value:
success: false
request_id: 66ca8deb-1dc2-4017-865f-c4fb0e3c7c0d
data: null
error:
code: overloaded
message: service temporarily overloaded
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
InvalidRequest:
description: The JSON body, source selection, or continuation is invalid. Locally malformed, forged, expired, or mismatched tokens are rejected before source work and require restarting pagination. A source may also reject an otherwise well-formed selector after acquisition. These errors do not spend a search credit. Source inventory changes discovered during a valid request return a completed response instead.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
success: false
request_id: 66ca8deb-1dc2-4017-865f-c4fb0e3c7c0d
data: null
error:
code: invalid_request
message: query is required
headers:
CreditsRemaining:
description: Search credits remaining.
schema:
type: integer
minimum: 0
RequestId:
description: Unique request identifier. Include it when contacting support.
schema:
type: string
format: uuid
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