Skip to main content
GET
/
gateway
/
v1
/
search
/
web
Web Search
curl --request GET \
  --url https://api.ask.surf/gateway/v1/search/web
{
  "data": [
    {
      "content": "<string>",
      "description": "<string>",
      "title": "<string>",
      "url": "<string>"
    }
  ],
  "meta": {
    "cached": true,
    "credits_used": 123,
    "limit": 123,
    "offset": 123,
    "total": 123
  },
  "$schema": "<string>"
}

Query Parameters

q
string
required

Search query like bitcoin price prediction 2026

Example:

"bitcoin price prediction 2026"

limit
integer<int64>
default:20

Results per page

Required range: 1 <= x <= 100
Example:

20

offset
integer<int64>
default:0

Pagination offset

Required range: x >= 0
Example:

0

site
string

Comma-separated domain filter like coindesk.com or cointelegraph.com

Example:

"coindesk.com,cointelegraph.com"

Response

OK

data
object[] | null
required
meta
object
required
$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/DataResponseWebSearchResultItem.json"