Search the web
Runs a web search for `query` and returns ranked organic results with contiguous `position` values from 1. Use `limit` (1–100, default 10) to request more results in a single call. Results are fetched in pages of 10, so a call consumes `ceil(limit / 10)` credits (capped at 10) from the account's monthly credits bucket — for example `limit=10` costs 1 credit and `limit=35` costs 4. Credits are charged for every page fetched regardless of how many results a page returns. The credit count is reported as `credits_used` in the response.
Authorization
AuthorizationRequiredBearer <token>API key. Manage keys from the dashboard at app.bytekit.com.
In: header
Request Body
application/jsonRequiredqueryRequiredstringThe search query.
1typestringWhich search index to query. web (default) returns ranked organic results; news returns news articles in the same results array, additionally populating source and image on each item; images returns image results, populating source, domain, and a fuller image object (full-image dimensions plus a thumbnail URL and dimensions) while omitting snippet and date. Billing is identical for all three.
"web"Value in: "web" | "news" | "images"limitintegerMaximum number of organic results to return. Results are fetched in pages of 10, so the call costs ceil(limit / 10) credits (capped at 10).
10Minimum: 1Maximum: 100countrystringTwo-letter country code to localize results (e.g. us, de), normalized to lowercase. Defaults to us.
"us"languagestringTwo-letter ISO-639-1 language code for results (e.g. en, fr), normalized to lowercase. Defaults to en.
"en"date_rangestringRestrict results to a recency window: any (default, no time filter), hour (past hour), day (past 24 hours), week (past week), month (past month), or year (past year). Applies identically to every type; billing is unchanged.
"any"Value in: "any" | "hour" | "day" | "week" | "month" | "year"Search completed.