Social Fetch
Web

Search the web

Search the public web and return ranked results with snippets.

GET/v1/web/search
x-api-key*stringheader

API key (`sfk_...`)

Parameters
9
query*stringquery

Search query text to run against the public web.

min 1 chars · max 500 chars

searchDepthstringoptionalquery

Search depth: basic (default), fast, ultra-fast, or advanced.

one of: basic, fast, ultra-fast, advanced

maxResultsintegeroptionalquery

Maximum number of search results to return (1–20).

≥ 1 · ≤ 20

topicstringoptionalquery

Search topic category. Defaults to general.

one of: general, news, finance

timeRangestringoptionalquery

Optional time range filter based on publish or last-updated date.

one of: day, week, month, year

startDatestringoptionalquery

Optional start date filter in YYYY-MM-DD format.

pattern: ^\d{4}-\d{2}-\d{2}$

endDatestringoptionalquery

Optional end date filter in YYYY-MM-DD format.

pattern: ^\d{4}-\d{2}-\d{2}$

includeDomainarrayoptionalquery

Domains to include in results. Repeat includeDomain for multiple values (max 20).

excludeDomainarrayoptionalquery

Domains to exclude from results. Repeat excludeDomain for multiple values (max 20).

Response fields
12

Endpoint-specific response payload.

dataquery
string

Search query that was executed.

Ranked search results.

dataresults[]title
string

Result page title.

dataresults[]url
string

Result page URL.

dataresults[]content
string

Relevant text snippet extracted from the result.

dataresults[]score
number

Relevance score between 0 and 1.

≥ 0 · ≤ 1

dataresults[]favicon
stringnullable

Favicon URL when available.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/web/search?query=social media scraping API" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Ranked web search results for the requested query.

On this page

No Headings