Runs a web search and returns ranked results, optionally scraping each result page in the same call. POST /search takes the same fields as a JSON body, with scrape_options.2 credits per 10 results, plus what each scraped page costs. Failed requests are never charged.
Guide: Search
Narrowing a search, scraping results, partial failures and examples.
Authorizations
X-API-Key
string
header
required
Your Prefetch API key. Obtain one from the dashboard.
Query Parameters
query
string
required
What to search for, as you would type it into Google (1–400 characters). Search operators work ("exact phrase", -word, filetype:pdf). q is accepted too.
Example:
"best open source CRM"
limit
string
Results to return (1–50; 1–10 when results are scraped). Default: 10.
Example:
"10"
type
enum<string>
web (default) or news — recent articles with their publisher and date.
Available options:
web,
news
country
string
Two-letter country code to search from, e.g. us, de.
Example:
"us"
language
string
Two-letter language code for the results, e.g. en, de.
Example:
"en"
location
string
A city or region to search from, e.g. Berlin, Germany.
time_range
enum<string>
Only results from the past hour, day, week, month or year.
Available options:
hour,
day,
week,
month,
year
include_domains
string
Comma-separated domains to search within (up to 10).
Example:
"github.com,gitlab.com"
exclude_domains
string
Comma-separated domains to leave out (up to 10).
Example:
"pinterest.com"
formats
string
Scrape each result page into these formats (the /scrape formats: markdown, summary, html, raw_html, links, images, json, screenshot). Omit to return search results only.
Example:
"markdown"
only_main_content
string
With formats: strip navigation, sidebars and footers from each page. Default: true.
max_age
string
With formats: accept a stored copy of a page fetched at most this many milliseconds ago.
Example:
"86400000"
timeout
string
Give up after this many milliseconds (5,000–45000). Result pages still loading are returned with a scrape_error and not charged.
Example:
"30000"
Response
Results, best first.
success
enum<boolean>
required
Available options:
true
data
object
required
Show child attributes
meta
object
required
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Prefetch API","colors":{"primary":"#8A5A00","light":"#F7B00A","dark":"#F7B00A"},"logo":{"light":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/light.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=7b9ea0ec7c23b929ff607e56c0de9713","dark":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/dark.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=e97e8b6432d524163f934bd09b638763"},"favicon":"https://mintcdn.com/prefetch/qKlLmXxc4XUEOZI9/images/favicon.svg?fit=max\u0026auto=format\u0026n=qKlLmXxc4XUEOZI9\u0026q=85\u0026s=68c45014cec0f875b327e5b42e450b3c","appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#FCFBF6","dark":"#1A0618"}},"navbar":{"links":[{"href":"https://prefetch.io/#pricing-section","label":"Pricing"},{"href":"https://prefetch.betteruptime.com/","label":"Status"},{"href":"mailto:[email protected]","label":"Support"},{"href":"https://prefetch.io/dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Get API key","href":"https://prefetch.io/account"}},"footer":{"links":[{"header":"Product","items":[{"label":"Website","href":"https://prefetch.io"},{"label":"Brand catalog","href":"https://prefetch.io/brands"},{"label":"Pricing","href":"https://prefetch.io/"},{"label":"Status","href":"https://prefetch.betteruptime.com/"},{"label":"Dashboard","href":"https://prefetch.io/dashboard"}]},{"header":"Docs","items":[{"label":"Quickstart","href":"/quickstart"},{"label":"Recipes","href":"/recipes/overview"},{"label":"Compare","href":"/compare/overview"},{"label":"API reference","href":"/api-reference/introduction"},{"label":"MCP server","href":"/mcp/overview"},{"label":"Changelog","href":"/changelog"}]},{"header":"Company","items":[{"label":"Book a demo","href":"https://cal.com/nestoras.design"},{"label":"Contact","href":"mailto:[email protected]"},{"label":"Security","href":"/concepts/security"},{"label":"Privacy","href":"https://prefetch.io/privacy"},{"label":"Terms","href":"https://prefetch.io/terms"}]}]},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Inter"}},"styling":{"codeblocks":{"theme":"css-variables"},"latex":true},"integrations":{"ga4":{"measurementId":"G-GVKTFNYJ7B"}},"contextual":{"options":["copy","view","claude","chatgpt","perplexity","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/images/og-background.png?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=cff58baad899de3384c86485eb291dad","fonts":{"family":"Space Grotesk"}},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"prefetch","hasAudioNarration":false,"actualSubdomain":"prefetch","customDomains":["docs.prefetch.io"],"gitSource":{"type":"github","owner":"trelobarbouni18","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aebd7f575e8c030b49a1953","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"API reference","count":38},{"language":"default","tag":"Docs","count":37},{"language":"default","tag":"Monitors","count":17},{"language":"default","tag":"Recipes","count":14},{"language":"default","tag":"Company data","count":13},{"language":"default","tag":"Integrations","count":12},{"language":"default","tag":"Web data","count":10},{"language":"default","tag":"Batches","count":8},{"language":"default","tag":"Jobs and monitoring","count":8},{"language":"default","tag":"Platform","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","href":"/_mintlify/custom/prefetch/d2542fa30758caf7/custom.css"}],"page":{"pagePath":"api-reference/endpoint/search","slug":"/api-reference/endpoint/search","pageMetadata":{"title":"GET /search","sidebarTitle":"Search","description":"Search the web and get each result's title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.","openapi":"GET /search","href":"/api-reference/endpoint/search"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Search the web and get each result’s title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Card}=_components;if(!Card)_missingMdxReference(`Card`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Runs a web search and returns ranked results, optionally scraping each result page in the same call. `,_jsx(_components.code,{children:`POST /search`}),` takes the same fields as a JSON body, with `,_jsx(_components.code,{children:`scrape_options`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`2 credits per 10 results`}),`, plus what each scraped page costs. Failed requests are never charged.`]}),`\n`,_jsx(Card,{title:`Guide: Search`,icon:`https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=83997c50bbffa6f63d021644f36e0d2f`,href:`/web-data/search`,\"data-og-width\":`24`,width:`24`,\"data-og-height\":`24`,height:`24`,\"data-path\":`icons/book-open.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=280\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=571e9341106e7a820dfbdc82f1fa7848 280w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=560\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=89b208a6ebed2801c21d3b334602f655 560w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=840\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=cad73ea82dc28ca477d6c58a9dba2701 840w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=a756acb5854c82807bee8e5b6fdf40a4 1100w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=5c188516dd5cf7d2e4e7d1b0f4fd00a6 1650w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=58b15848f6396e16701ae55f8da4103c 2500w`,children:_jsx(_components.p,{children:`Narrowing a search, scraping results, partial failures and examples.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"GET /search","sidebarTitle":"Search","description":"Search the web and get each result's title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.","openapi":"GET /search","href":"/api-reference/endpoint/search"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"searchWeb","summary":"Search the web","description":"Search the web and get each result's title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.","tags":["Endpoints"],"parameters":["95d34788-d68a-4f47-b3a6-7db72f9e700d","723b3c4a-3028-4807-a007-4952eeb51662","a3349e17-9efa-4168-89fd-bd4bd2ccd191","fb35ae45-3cb7-40d8-8f47-d8e8e58387e6","f81d1f85-bdfa-4170-b042-5e67019dcee8","a2088c76-7c6c-4d38-afc3-ebcfea69b781","d316195c-9de3-4802-8d42-0f751714c466","9f0e8940-4716-485c-81f2-a1f7e42b9b76","0b6a9683-b510-480d-9857-0fb14639aa40","e700ac6d-92dc-4739-a76e-a0e94ac26b3f","7624eec6-52fd-41be-a025-498a73e851f0","11cee2d7-a5fb-4cf5-9217-389be3a3939e","8d1b6319-faa1-4008-a6e2-e7c237f6b980"],"responses":{"200":"82ef531f-6dce-47bd-928a-fb25ffd3f808","400":"1ebd571f-9c59-4a1a-8860-b9ea51f79ffd","401":"3a2dead5-1ba9-46fb-b658-e18a057d9b11","403":"11513605-61cf-48f8-bef4-1488b8446ef9","429":"84bdaa6e-0252-4b78-b3e4-32b224263d86","503":"4c26ea1a-d25d-4d93-bceb-bc69313748c3"},"method":"get","type":"path","servers":["a72447d6-010c-4889-ae7b-b9e4d80db41a"],"security":["a1fe7f7c-62a7-42f3-b340-a37bf2940fc6"],"path":"/search","baseUrlOptions":["https://api.prefetch.io"],"title":"Search the web","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"95d34788-d68a-4f47-b3a6-7db72f9e700d":{"schema":{"type":"string","description":"What to search for, as you would type it into Google (1–400 characters). Search operators work (`\"exact phrase\"`, `-word`, `filetype:pdf`). `q` is accepted too.","example":"best open source CRM","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"What to search for, as you would type it into Google (1–400 characters). Search operators work (`\"exact phrase\"`, `-word`, `filetype:pdf`). `q` is accepted too.","name":"query","in":"query"},"723b3c4a-3028-4807-a007-4952eeb51662":{"schema":{"type":"string","description":"Results to return (1–50; 1–10 when results are scraped). Default: 10.","example":"10","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Results to return (1–50; 1–10 when results are scraped). Default: 10.","name":"limit","in":"query"},"a3349e17-9efa-4168-89fd-bd4bd2ccd191":{"schema":{"type":"string","enum":["web","news"],"description":"`web` (default) or `news` — recent articles with their publisher and date.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"`web` (default) or `news` — recent articles with their publisher and date.","name":"type","in":"query"},"fb35ae45-3cb7-40d8-8f47-d8e8e58387e6":{"schema":{"type":"string","description":"Two-letter country code to search from, e.g. `us`, `de`.","example":"us","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Two-letter country code to search from, e.g. `us`, `de`.","name":"country","in":"query"},"f81d1f85-bdfa-4170-b042-5e67019dcee8":{"schema":{"type":"string","description":"Two-letter language code for the results, e.g. `en`, `de`.","example":"en","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Two-letter language code for the results, e.g. `en`, `de`.","name":"language","in":"query"},"a2088c76-7c6c-4d38-afc3-ebcfea69b781":{"schema":{"type":"string","description":"A city or region to search from, e.g. `Berlin, Germany`.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"A city or region to search from, e.g. `Berlin, Germany`.","name":"location","in":"query"},"d316195c-9de3-4802-8d42-0f751714c466":{"schema":{"type":"string","enum":["hour","day","week","month","year"],"description":"Only results from the past hour, day, week, month or year.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Only results from the past hour, day, week, month or year.","name":"time_range","in":"query"},"9f0e8940-4716-485c-81f2-a1f7e42b9b76":{"schema":{"type":"string","description":"Comma-separated domains to search within (up to 10).","example":"github.com,gitlab.com","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Comma-separated domains to search within (up to 10).","name":"include_domains","in":"query"},"0b6a9683-b510-480d-9857-0fb14639aa40":{"schema":{"type":"string","description":"Comma-separated domains to leave out (up to 10).","example":"pinterest.com","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Comma-separated domains to leave out (up to 10).","name":"exclude_domains","in":"query"},"e700ac6d-92dc-4739-a76e-a0e94ac26b3f":{"schema":{"type":"string","description":"Scrape each result page into these formats (the /scrape formats: markdown, summary, html, raw_html, links, images, json, screenshot). Omit to return search results only.","example":"markdown","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Scrape each result page into these formats (the /scrape formats: markdown, summary, html, raw_html, links, images, json, screenshot). Omit to return search results only.","name":"formats","in":"query"},"7624eec6-52fd-41be-a025-498a73e851f0":{"schema":{"type":"string","description":"With `formats`: strip navigation, sidebars and footers from each page. Default: true.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"With `formats`: strip navigation, sidebars and footers from each page. Default: true.","name":"only_main_content","in":"query"},"11cee2d7-a5fb-4cf5-9217-389be3a3939e":{"schema":{"type":"string","description":"With `formats`: accept a stored copy of a page fetched at most this many milliseconds ago.","example":"86400000","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"With `formats`: accept a stored copy of a page fetched at most this many milliseconds ago.","name":"max_age","in":"query"},"8d1b6319-faa1-4008-a6e2-e7c237f6b980":{"schema":{"type":"string","description":"Give up after this many milliseconds (5,000–45000). Result pages still loading are returned with a `scrape_error` and not charged.","example":"30000","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Give up after this many milliseconds (5,000–45000). Result pages still loading are returned with a `scrape_error` and not charged.","name":"timeout","in":"query"}},"responses":{"82ef531f-6dce-47bd-928a-fb25ffd3f808":{"description":"Results, best first.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"query":{"type":"string","isRequired":true,"uniqueKey":"data.query","typeLabel":"string"},"type":{"type":"string","enum":["web","news"],"isRequired":true,"uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"results":{"type":"array","items":{"type":"object","properties":{"position":{"type":"number","description":"Rank on the results page, from 1.","example":1,"isRequired":true,"uniqueKey":"data.results.items.[INDEX].position","typeLabel":"number"},"url":{"type":"string","isRequired":true,"uniqueKey":"data.results.items.[INDEX].url","typeLabel":"string"},"title":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.results.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.results.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.results.items.[INDEX].title","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"The snippet the search engine shows for the result.","isRequired":true,"uniqueKey":"data.results.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The snippet the search engine shows for the result.","isRequired":true,"uniqueKey":"data.results.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.results.items.[INDEX].description","typeLabel":"string | null"},"date":{"oneOf":[{"type":"string","description":"Publication date as the result shows it, when it shows one.","example":"2 days ago","isRequired":true,"uniqueKey":"data.results.items.[INDEX].date.oneOf.0","typeLabel":"string"},{"type":"null","description":"Publication date as the result shows it, when it shows one.","example":"2 days ago","isRequired":true,"uniqueKey":"data.results.items.[INDEX].date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.results.items.[INDEX].date","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","description":"News results: the publisher.","example":"The Verge","isRequired":true,"uniqueKey":"data.results.items.[INDEX].source.oneOf.0","typeLabel":"string"},{"type":"null","description":"News results: the publisher.","example":"The Verge","isRequired":true,"uniqueKey":"data.results.items.[INDEX].source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.results.items.[INDEX].source","typeLabel":"string | null"},"image_url":{"oneOf":[{"type":"string","description":"News results: the article's thumbnail.","isRequired":true,"uniqueKey":"data.results.items.[INDEX].image_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"News results: the article's thumbnail.","isRequired":true,"uniqueKey":"data.results.items.[INDEX].image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.results.items.[INDEX].image_url","typeLabel":"string | null"},"scrape":{"type":"object","description":"The result page in the requested formats — the same object GET /scrape returns. Present when scraping was asked for and the page was fetched.","required":["url","final_url","metadata"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.url","typeLabel":"string"},"final_url":{"type":"string","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.final_url","typeLabel":"string"},"metadata":{"type":"object","description":"Always present, whatever formats were requested.","properties":{"source_url":{"oneOf":[{"type":"string","description":"The URL you requested.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.source_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL you requested.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.source_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.source_url","typeLabel":"string | null"},"final_url":{"oneOf":[{"type":"string","description":"The URL after redirects.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.final_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL after redirects.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.final_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.final_url","typeLabel":"string | null"},"status_code":{"oneOf":[{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.metadata.status_code.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.metadata.status_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.status_code","typeLabel":"integer | null"},"title":{"oneOf":[{"type":"string","example":"Stripe | Financial Infrastructure","uniqueKey":"data.results.items.[INDEX].scrape.metadata.title.oneOf.0","typeLabel":"string"},{"type":"null","example":"Stripe | Financial Infrastructure","uniqueKey":"data.results.items.[INDEX].scrape.metadata.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.title","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.metadata.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.description","typeLabel":"string | null"},"language":{"oneOf":[{"type":"string","example":"en","uniqueKey":"data.results.items.[INDEX].scrape.metadata.language.oneOf.0","typeLabel":"string"},{"type":"null","example":"en","uniqueKey":"data.results.items.[INDEX].scrape.metadata.language.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.language","typeLabel":"string | null"},"canonical_url":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.canonical_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.metadata.canonical_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.canonical_url","typeLabel":"string | null"},"favicon":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.favicon.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.metadata.favicon.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.favicon","typeLabel":"string | null"},"author":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.author.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.metadata.author.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.author","typeLabel":"string | null"},"site_name":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.site_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.metadata.site_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.site_name","typeLabel":"string | null"},"published_time":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.published_time.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.metadata.published_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.published_time","typeLabel":"string | null"},"modified_time":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.modified_time.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.metadata.modified_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.modified_time","typeLabel":"string | null"},"robots":{"oneOf":[{"type":"string","description":"The page's own robots meta tag.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.robots.oneOf.0","typeLabel":"string"},{"type":"null","description":"The page's own robots meta tag.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.robots.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.metadata.robots","typeLabel":"string | null"},"keywords":{"type":"array","items":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.keywords.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.results.items.[INDEX].scrape.metadata.keywords","typeLabel":"string[]"},"open_graph":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.open_graph.additionalProperties","typeLabel":"string"},"uniqueKey":"data.results.items.[INDEX].scrape.metadata.open_graph","typeLabel":"object"},"twitter":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.twitter.additionalProperties","typeLabel":"string"},"uniqueKey":"data.results.items.[INDEX].scrape.metadata.twitter","typeLabel":"object"},"json_ld":{"type":"array","items":{"type":"object","uniqueKey":"data.results.items.[INDEX].scrape.metadata.json_ld.items.[INDEX]","typeLabel":"object"},"description":"Parsed JSON-LD blocks, up to 10.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.json_ld","typeLabel":"object[]"},"headings":{"type":"array","description":"The page's heading outline, up to 100 entries.","items":{"type":"object","properties":{"level":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.metadata.headings.items.[INDEX].level","typeLabel":"integer"},"text":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.metadata.headings.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"data.results.items.[INDEX].scrape.metadata.headings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.results.items.[INDEX].scrape.metadata.headings","typeLabel":"object[]"},"content_type":{"type":"string","enum":["text/html","application/pdf"],"description":"What the URL served. A PDF's text becomes the markdown; it has no html.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.content_type","typeLabel":"enum\u003cstring>"},"page_count":{"type":"integer","description":"PDFs only: pages in the document.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.page_count","typeLabel":"integer"},"cache_state":{"type":"string","enum":["hit","miss"],"description":"Present when the request set `max_age`: `hit` = served from a stored fetch, `miss` = fetched live.","uniqueKey":"data.results.items.[INDEX].scrape.metadata.cache_state","typeLabel":"enum\u003cstring>"},"cached_at":{"type":"string","description":"On a cache hit: when the stored copy was fetched (ISO 8601).","uniqueKey":"data.results.items.[INDEX].scrape.metadata.cached_at","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.metadata","typeLabel":"object"},"domain":{"oneOf":[{"type":"string","example":"stripe.com","uniqueKey":"data.results.items.[INDEX].scrape.domain.oneOf.0","typeLabel":"string"},{"type":"null","example":"stripe.com","uniqueKey":"data.results.items.[INDEX].scrape.domain.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.domain","typeLabel":"string | null"},"status_code":{"oneOf":[{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.status_code.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.status_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.status_code","typeLabel":"integer | null"},"markdown":{"type":"object","properties":{"content":{"type":"string","description":"GitHub Flavored Markdown. Links and images are resolved to absolute URLs.","uniqueKey":"data.results.items.[INDEX].scrape.markdown.content","typeLabel":"string"},"char_count":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.markdown.char_count","typeLabel":"integer"},"word_count":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.markdown.word_count","typeLabel":"integer"},"truncated":{"type":"boolean","description":"True when the content hit the 1 MB size cap and was cut.","uniqueKey":"data.results.items.[INDEX].scrape.markdown.truncated","typeLabel":"boolean"},"main_content_only":{"type":"boolean","description":"True when boilerplate was successfully isolated away. False means the full page body was returned.","uniqueKey":"data.results.items.[INDEX].scrape.markdown.main_content_only","typeLabel":"boolean"}},"uniqueKey":"data.results.items.[INDEX].scrape.markdown","typeLabel":"object"},"summary":{"type":"object","properties":{"text":{"oneOf":[{"type":"string","description":"Null when the summary could not be produced; see `warnings`.","uniqueKey":"data.results.items.[INDEX].scrape.summary.text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null when the summary could not be produced; see `warnings`.","uniqueKey":"data.results.items.[INDEX].scrape.summary.text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.summary.text","typeLabel":"string | null"},"model":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.summary.model.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.summary.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.summary.model","typeLabel":"string | null"}},"uniqueKey":"data.results.items.[INDEX].scrape.summary","typeLabel":"object"},"html":{"type":"object","properties":{"content":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.html.content","typeLabel":"string"},"char_count":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.html.char_count","typeLabel":"integer"},"truncated":{"type":"boolean","uniqueKey":"data.results.items.[INDEX].scrape.html.truncated","typeLabel":"boolean"},"main_content_only":{"type":"boolean","uniqueKey":"data.results.items.[INDEX].scrape.html.main_content_only","typeLabel":"boolean"}},"uniqueKey":"data.results.items.[INDEX].scrape.html","typeLabel":"object"},"raw_html":{"type":"object","properties":{"content":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.raw_html.content","typeLabel":"string"},"char_count":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.raw_html.char_count","typeLabel":"integer"},"truncated":{"type":"boolean","uniqueKey":"data.results.items.[INDEX].scrape.raw_html.truncated","typeLabel":"boolean"},"main_content_only":{"type":"boolean","uniqueKey":"data.results.items.[INDEX].scrape.raw_html.main_content_only","typeLabel":"boolean"}},"uniqueKey":"data.results.items.[INDEX].scrape.raw_html","typeLabel":"object"},"links":{"type":"object","properties":{"internal":{"type":"array","description":"Links on the same site, subdomains included.","items":{"type":"object","properties":{"url":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].url","typeLabel":"string"},"text":{"oneOf":[{"type":"string","description":"The anchor text.","uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","description":"The anchor text.","uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].text","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].title","typeLabel":"string | null"},"rel":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].rel.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].rel.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX].rel","typeLabel":"string | null"}},"uniqueKey":"data.results.items.[INDEX].scrape.links.internal.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.results.items.[INDEX].scrape.links.internal","typeLabel":"object[]"},"external":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].url","typeLabel":"string"},"text":{"oneOf":[{"type":"string","description":"The anchor text.","uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","description":"The anchor text.","uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].text","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].title","typeLabel":"string | null"},"rel":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].rel.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].rel.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX].rel","typeLabel":"string | null"}},"uniqueKey":"data.results.items.[INDEX].scrape.links.external.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.results.items.[INDEX].scrape.links.external","typeLabel":"object[]"},"count":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.links.count","typeLabel":"integer"}},"uniqueKey":"data.results.items.[INDEX].scrape.links","typeLabel":"object"},"images":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].url","typeLabel":"string"},"alt":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].alt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].alt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].alt","typeLabel":"string | null"},"width":{"oneOf":[{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].width.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].width.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].width","typeLabel":"integer | null"},"height":{"oneOf":[{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].height.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].height.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].height","typeLabel":"integer | null"},"loading":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].loading.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].loading.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX].loading","typeLabel":"string | null"}},"uniqueKey":"data.results.items.[INDEX].scrape.images.assets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.results.items.[INDEX].scrape.images.assets","typeLabel":"object[]"},"og_image":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.images.og_image.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.images.og_image.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.images.og_image","typeLabel":"string | null"},"twitter_image":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.images.twitter_image.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.images.twitter_image.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.images.twitter_image","typeLabel":"string | null"},"count":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.images.count","typeLabel":"integer"}},"uniqueKey":"data.results.items.[INDEX].scrape.images","typeLabel":"object"},"json":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","description":"The extracted object, shaped by your prompt or schema.","uniqueKey":"data.results.items.[INDEX].scrape.json.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The extracted object, shaped by your prompt or schema.","uniqueKey":"data.results.items.[INDEX].scrape.json.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.json.data","typeLabel":"object | null"},"model":{"oneOf":[{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.json.model.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.results.items.[INDEX].scrape.json.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.results.items.[INDEX].scrape.json.model","typeLabel":"string | null"}},"uniqueKey":"data.results.items.[INDEX].scrape.json","typeLabel":"object"},"screenshot":{"type":"object","description":"Present when `formats` includes `screenshot`.","properties":{"url":{"type":"string","description":"The image on our CDN. Short-lived: copy it if you need to keep it.","uniqueKey":"data.results.items.[INDEX].scrape.screenshot.url","typeLabel":"string"},"viewport":{"type":"object","properties":{"width":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.screenshot.viewport.width","typeLabel":"integer"},"height":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.screenshot.viewport.height","typeLabel":"integer"}},"uniqueKey":"data.results.items.[INDEX].scrape.screenshot.viewport","typeLabel":"object"},"full_page":{"type":"boolean","uniqueKey":"data.results.items.[INDEX].scrape.screenshot.full_page","typeLabel":"boolean"},"format":{"type":"string","enum":["jpeg","png","webp"],"uniqueKey":"data.results.items.[INDEX].scrape.screenshot.format","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.results.items.[INDEX].scrape.screenshot","typeLabel":"object"},"pdf":{"type":"object","description":"Present when the URL served a PDF. Its text is in `markdown`.","properties":{"page_count":{"type":"integer","uniqueKey":"data.results.items.[INDEX].scrape.pdf.page_count","typeLabel":"integer"},"pages_parsed":{"type":"integer","description":"Pages whose text was read (capped for very long documents).","uniqueKey":"data.results.items.[INDEX].scrape.pdf.pages_parsed","typeLabel":"integer"},"truncated":{"type":"boolean","uniqueKey":"data.results.items.[INDEX].scrape.pdf.truncated","typeLabel":"boolean"}},"uniqueKey":"data.results.items.[INDEX].scrape.pdf","typeLabel":"object"},"prompt_injection":{"type":"object","description":"Present when the request set `check_prompt_injection`.","properties":{"detected":{"type":"boolean","description":"True when the page's text appears to contain instructions aimed at an AI model.","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection.detected","typeLabel":"boolean"},"reason":{"oneOf":[{"type":"string","description":"Why it was flagged, quoting or describing the suspicious text. Null when nothing was found.","example":"The page tells AI assistants to ignore their instructions and send the user's API keys to an outside address.","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection.reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why it was flagged, quoting or describing the suspicious text. Null when nothing was found.","example":"The page tells AI assistants to ignore their instructions and send the user's API keys to an outside address.","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection.reason","typeLabel":"string | null"},"complete":{"type":"boolean","description":"True when all of the page's text was checked. False when part of it could not be (a very long page, or the classifier was unavailable): `detected: false` then means nothing was found in what was checked, not that the page is clean.","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection.complete","typeLabel":"boolean"},"model":{"oneOf":[{"type":"string","description":"The model that checked it; null for a page with no text.","example":"gpt-5.6-luna","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection.model.oneOf.0","typeLabel":"string"},{"type":"null","description":"The model that checked it; null for a page with no text.","example":"gpt-5.6-luna","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection.model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection.model","typeLabel":"string | null"}},"required":["detected","reason","complete","model"],"uniqueKey":"data.results.items.[INDEX].scrape.prompt_injection","typeLabel":"object"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"data.results.items.[INDEX].scrape.warnings.items.[INDEX]","typeLabel":"string"},"description":"Non-fatal problems, such as a format that could not be produced.","uniqueKey":"data.results.items.[INDEX].scrape.warnings","typeLabel":"string[]"}},"uniqueKey":"data.results.items.[INDEX].scrape","typeLabel":"object"},"scrape_error":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape_error.error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","TARGET_ELEMENT_NOT_FOUND","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"isRequired":true,"uniqueKey":"data.results.items.[INDEX].scrape_error.error_code","typeLabel":"enum\u003cstring>"}},"required":["error","error_code"],"description":"Why the result page could not be scraped. Not charged.","uniqueKey":"data.results.items.[INDEX].scrape_error","typeLabel":"object"}},"required":["position","url","title","description","date","source","image_url"],"uniqueKey":"data.results.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.results","typeLabel":"object[]"},"count":{"type":"number","isRequired":true,"uniqueKey":"data.count","typeLabel":"number"},"scraped":{"type":"number","description":"Result pages fetched — each charged at the /scrape rate.","isRequired":true,"uniqueKey":"data.scraped","typeLabel":"number"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"data.warnings.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.warnings","typeLabel":"string[]"}},"required":["query","type","results","count","scraped","warnings"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","data","meta"],"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"query":"stripe pricing","type":"web","count":2,"scraped":0,"warnings":[],"results":[{"position":1,"url":"https://stripe.com/pricing","title":"Pricing \u0026 Fees | Stripe","description":"Find Stripe fees and pricing information…","date":null,"source":null,"image_url":null},{"position":2,"url":"https://docs.stripe.com/billing/subscriptions/pricing","title":"Pricing models | Stripe Documentation","description":"Learn about common pricing models…","date":null,"source":null,"image_url":null}]},"meta":{"requestId":"6f1d2c3b-4a5e-4f60-8b7a-9c0d1e2f3a4b","durationMs":1840}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"query":"stripe pricing","type":"web","count":2,"scraped":0,"warnings":[],"results":[{"position":1,"url":"https://stripe.com/pricing","title":"Pricing \u0026 Fees | Stripe","description":"Find Stripe fees and pricing information…","date":null,"source":null,"image_url":null},{"position":2,"url":"https://docs.stripe.com/billing/subscriptions/pricing","title":"Pricing models | Stripe Documentation","description":"Learn about common pricing models…","date":null,"source":null,"image_url":null}]},"meta":{"requestId":"6f1d2c3b-4a5e-4f60-8b7a-9c0d1e2f3a4b","durationMs":1840}}}},"exampleType":"examples"}},"exampleType":"examples"},"1ebd571f-9c59-4a1a-8860-b9ea51f79ffd":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"3a2dead5-1ba9-46fb-b658-e18a057d9b11":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"11513605-61cf-48f8-bef4-1488b8446ef9":{"description":"Revoked key, expired key, blocked URL, or credit limit.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"84bdaa6e-0252-4b78-b3e4-32b224263d86":{"description":"Rate or concurrency limit exceeded.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"4c26ea1a-d25d-4d93-bceb-bc69313748c3":{"description":"Service temporarily unavailable — retry shortly.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a1fe7f7c-62a7-42f3-b340-a37bf2940fc6":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your Prefetch API key. Obtain one from the dashboard.","scopes":[],"schemeName":"apiKey"}}},"servers":{"a72447d6-010c-4889-ae7b-b9e4d80db41a":{"url":"https://api.prefetch.io","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your Prefetch API key. Obtain one from the dashboard.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-Key","type":"string","description":"Your Prefetch API key. Obtain one from the dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-Key"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"prefetch","siteName":"Prefetch API","title":"GET /search - Prefetch API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T00:20:50.172Z","originalFileLocation":"api-reference/endpoint/search.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Search the web and get each result\u0026#x27;s title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Prefetch API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"GET /search - Prefetch API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Search the web and get each result\u0026#x27;s title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Prefetch API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.prefetch.io/api-reference/endpoint/search\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://prefetch.mintlify.site/_mintlify/api/og/v2?division=Web+data\u0026amp;title=GET+%2Fsearch\u0026amp;description=Search+the+web+and+get+each+result%27s+title%2C+URL+and+snippet%2C+optionally+with+every+result+page+scraped.+2+credits+per+10+results.\u0026amp;theme=53a3f409698e98a035ca36d8\u0026amp;signature=6fbdca8ed9341e0ac4c46d0c18d969a7b5e854b47f0fcc679196f749b7807e5c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"GET /search - Prefetch API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Search the web and get each result\u0026#x27;s title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://prefetch.mintlify.site/_mintlify/api/og/v2?division=Web+data\u0026amp;title=GET+%2Fsearch\u0026amp;description=Search+the+web+and+get+each+result%27s+title%2C+URL+and+snippet%2C+optionally+with+every+result+page+scraped.+2+credits+per+10+results.\u0026amp;theme=53a3f409698e98a035ca36d8\u0026amp;signature=6fbdca8ed9341e0ac4c46d0c18d969a7b5e854b47f0fcc679196f749b7807e5c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Prefetch API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8A5A00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.prefetch.io/api-reference/endpoint/search\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/search.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.prefetch.io/#organization\",\"name\":\"Prefetch API\",\"url\":\"https://docs.prefetch.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/light.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=7b9ea0ec7c23b929ff607e56c0de9713\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.prefetch.io#website\",\"name\":\"Prefetch API\",\"url\":\"https://docs.prefetch.io\",\"publisher\":{\"@id\":\"https://docs.prefetch.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/search#webpage\",\"url\":\"https://docs.prefetch.io/api-reference/endpoint/search\",\"name\":\"GET /search\",\"description\":\"Search the web and get each result's title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.\",\"dateModified\":\"2026-11-05T00:20:50.172Z\",\"isPartOf\":{\"@id\":\"https://docs.prefetch.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/search#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/search#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Web data\",\"item\":\"https://docs.prefetch.io/api-reference/endpoint/scrape\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GET /search\",\"item\":\"https://docs.prefetch.io/api-reference/endpoint/search\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/search#apireference\",\"headline\":\"GET /search\",\"name\":\"GET /search\",\"description\":\"Search the web and get each result's title, URL and snippet, optionally with every result page scraped. 2 credits per 10 results.\",\"url\":\"https://docs.prefetch.io/api-reference/endpoint/search\",\"mainEntityOfPage\":{\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/search#webpage\"},\"dateModified\":\"2026-11-05T00:20:50.172Z\",\"publisher\":{\"@id\":\"https://docs.prefetch.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.prefetch.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Prefetch API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Prefetch API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/search.md","siteName":"Prefetch API","nav":{"global":{},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Find a company","pages":[{"title":"GET /resolve","sidebarTitle":"Resolve a name","openapi":"GET /resolve","href":"/api-reference/endpoint/resolve"},{"title":"GET /transaction","sidebarTitle":"Card transaction","openapi":"GET /transaction","href":"/api-reference/endpoint/transaction"}]},{"group":"Company data","pages":[{"title":"GET /enrich","sidebarTitle":"Enrich","openapi":"GET /enrich","href":"/api-reference/endpoint/enrich"},{"title":"GET /brand","sidebarTitle":"Brand","openapi":"GET /brand","href":"/api-reference/endpoint/brand"},{"title":"GET /company","sidebarTitle":"Company","openapi":"GET /company","href":"/api-reference/endpoint/company"},{"title":"GET /classify","sidebarTitle":"Classify","openapi":"GET /classify","href":"/api-reference/endpoint/classify"},{"title":"GET /styleguide","sidebarTitle":"Styleguide","openapi":"GET /styleguide","href":"/api-reference/endpoint/styleguide"}]},{"group":"Web data","pages":[{"title":"GET /scrape","sidebarTitle":"Scrape","description":"Turn any page into markdown, a summary, structured JSON, links or images. 1 credit, 4 with a summary or JSON.","openapi":"GET /scrape","href":"/api-reference/endpoint/scrape"},{"title":"GET /search","sidebarTitle":"Search","openapi":"GET /search","href":"/api-reference/endpoint/search"},{"title":"GET /map","sidebarTitle":"Map","description":"List every URL a site exposes, from its sitemaps and on-page links. 1 credit.","openapi":"GET /map","href":"/api-reference/endpoint/map"},{"title":"GET /screenshot","sidebarTitle":"Screenshot","openapi":"GET /screenshot","href":"/api-reference/endpoint/screenshot"}]},{"group":"Crawls","pages":[{"title":"POST /crawl","sidebarTitle":"Start a crawl","openapi":"POST /crawl","href":"/api-reference/endpoint/crawl"},{"title":"GET /crawl/{id}","sidebarTitle":"Get crawl status","openapi":"GET /crawl/{id}","href":"/api-reference/endpoint/crawl-status"},{"title":"GET /crawl/{id}/errors","sidebarTitle":"Get crawl errors","openapi":"GET /crawl/{id}/errors","href":"/api-reference/endpoint/crawl-errors"},{"title":"DELETE /crawl/{id}","sidebarTitle":"Cancel a crawl","openapi":"DELETE /crawl/{id}","href":"/api-reference/endpoint/crawl-cancel"}]},{"group":"Batches","pages":[{"title":"POST /batch/scrape","sidebarTitle":"Start a batch scrape","openapi":"POST /batch/scrape","href":"/api-reference/endpoint/batch-scrape"},{"title":"GET /batch/scrape/{id}","sidebarTitle":"Get batch scrape status","openapi":"GET /batch/scrape/{id}","href":"/api-reference/endpoint/batch-scrape-status"},{"title":"GET /batch/scrape/{id}/errors","sidebarTitle":"Get batch scrape errors","openapi":"GET /batch/scrape/{id}/errors","href":"/api-reference/endpoint/batch-scrape-errors"},{"title":"DELETE /batch/scrape/{id}","sidebarTitle":"Cancel a batch scrape","openapi":"DELETE /batch/scrape/{id}","href":"/api-reference/endpoint/batch-scrape-cancel"},{"title":"POST /batch/{endpoint}","sidebarTitle":"Start a batch","openapi":"POST /batch/{endpoint}","href":"/api-reference/endpoint/batch"},{"title":"GET /batch/{endpoint}/{id}","sidebarTitle":"Get batch status","openapi":"GET /batch/{endpoint}/{id}","href":"/api-reference/endpoint/batch-status"},{"title":"GET /batch/{endpoint}/{id}/errors","sidebarTitle":"Get batch errors","openapi":"GET /batch/{endpoint}/{id}/errors","href":"/api-reference/endpoint/batch-errors"},{"title":"DELETE /batch/{endpoint}/{id}","sidebarTitle":"Cancel a batch","openapi":"DELETE /batch/{endpoint}/{id}","href":"/api-reference/endpoint/batch-cancel"}]},{"group":"Monitors","pages":[{"title":"POST /monitor","sidebarTitle":"Create a monitor","openapi":"POST /monitor","href":"/api-reference/endpoint/monitor"},{"title":"GET /monitor","sidebarTitle":"List monitors","openapi":"GET /monitor","href":"/api-reference/endpoint/monitor-list"},{"title":"GET /monitor/{id}","sidebarTitle":"Get a monitor","openapi":"GET /monitor/{id}","href":"/api-reference/endpoint/monitor-get"},{"title":"PATCH /monitor/{id}","sidebarTitle":"Update a monitor","openapi":"PATCH /monitor/{id}","href":"/api-reference/endpoint/monitor-update"},{"title":"DELETE /monitor/{id}","sidebarTitle":"Delete a monitor","openapi":"DELETE /monitor/{id}","href":"/api-reference/endpoint/monitor-delete"},{"title":"POST /monitor/{id}/run","sidebarTitle":"Run a check now","openapi":"POST /monitor/{id}/run","href":"/api-reference/endpoint/monitor-run"},{"title":"GET /monitor/{id}/checks","sidebarTitle":"List checks","openapi":"GET /monitor/{id}/checks","href":"/api-reference/endpoint/monitor-checks"},{"title":"GET /monitor/{id}/checks/{checkId}","sidebarTitle":"Get a check","openapi":"GET /monitor/{id}/checks/{checkId}","href":"/api-reference/endpoint/monitor-check"},{"group":"Webhooks","pages":[{"title":"monitor.page webhook","sidebarTitle":"monitor.page event","openapi":"WEBHOOK monitor.page","href":"/api-reference/endpoint/monitor-webhook-page"},{"title":"monitor.check.completed webhook","sidebarTitle":"monitor.check.completed event","openapi":"WEBHOOK monitor.check.completed","href":"/api-reference/endpoint/monitor-webhook-check"}]}]},{"group":"Logo CDN","pages":[{"title":"GET /logo/token","sidebarTitle":"Get logo token","openapi":"GET /logo/token","href":"/api-reference/endpoint/logo-token"},{"title":"POST /logo/token/rotate","sidebarTitle":"Rotate logo token","openapi":"POST /logo/token/rotate","href":"/api-reference/endpoint/logo-token-rotate"}]},{"group":"Service","pages":[{"title":"GET /health","sidebarTitle":"Health","openapi":"GET /health","href":"/api-reference/endpoint/health"},{"title":"GET /ready","sidebarTitle":"Readiness","openapi":"GET /ready","href":"/api-reference/endpoint/ready"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"GET /search - Prefetch API","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BvKnMd7F.js","utils-BMt52org.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CGXZuDGO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dl57XWH2.js","snippetPresets-CWd8CxSk.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BR-Wkc_D.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-YMmi08aZ.js","shallow-DBC1OB78.js","getApiPlaygroundDisplay-Be7mmEzP.js","CodeSnippet-B14o1TgQ.js","CodeSnippets-CJ2q3fTq.js","Page-Chgj7sZe.js","getPastedJson-DnpLXm8x.js","icon-BpkSFtdK.js","MethodPill-BO3zPf-g.js","DuplicateIcon-Bib3qwfw.js","createIcon-CY2noFo3.js","DynamicMarkdown-TAXIW2vN.js","SectionHeading-Dfs3Fmfw.js","axios-vUo_bRtp.js","Markdown-CGAo_eqA.js","clsx-BNa-H6W6.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-r2tNEC1n.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-B7oWe6jc.js"]}