Search
Search overview
Run a Google search and get the top organic results as structured JSON.
POST /search runs a Google search for a query and returns the top organic results as structured JSON — title, URL,
display URL, snippet, and position.
curl https://request.usestring.ai/v1/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "query": "best coffee shops in san francisco" }'Response
{
"results": [
{
"position": 1,
"title": "Example Result Title",
"url": "https://example.com/page",
"displayUrl": "https://example.com › page",
"snippet": "A short description of the page as shown on the results page."
}
]
}| Field | Description |
|---|---|
position | 1-based rank of the result on the results page. |
title | Result title as shown on the results page. |
url | Destination URL the result links to. |
displayUrl | Human-readable URL shown beneath the title. |
snippet | Description text shown with the result. |
Pricing
Each search is billed at the browser standard rate — $2.00 per 1,000 searches on Starter, $1.00 per 1,000 on Growth. See Pricing.
Use Search to find the right pages for a query, then Fetch those URLs to pull their content.