SERP API
Search the web by keyword with one EveryInfra API key and read the title, link, snippet and position of each result as JSON. You can set a country and a language preference, from $1.39 per 1,000 calls.
All you need is one API key, no login or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.
- 1 endpoint, one key.
- A snippet is not the full page.
- Failed calls and empty results are not charged.
Real sample values for the keyword search
POST /api/v1/social params {"keyword":"Python documentation"}
Platform availability
- 24h health
- 100%
Last 30 days
Available capabilities
The search action searches web pages by keyword to obtain titles, links, snippets, ranks, and publication dates for AI applications.
Get web search results by keyword. Snippets do not give the full page text and do not verify facts.
Search
- SearchHealthy · health 100%
Run a web search and get ranked results with title, URL, snippet, position and publish date.
search$1.39 per 1,000 calls
5 questions to ask before choosing a data API for SERP
Do I need to log in or provide a cookie to make calls?
No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.
How is it billed? Are failed requests charged? Is there a free trial?
Billing is per request, $1.39 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.
Can I connect this SERP API to Claude or Cursor?
Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.
What compliance points apply when using SERP data?
The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.
What SERP data can I get?
Available SERP capabilities (1): Search. The parameters and response fields of each capability are in the API reference on this page.
Use cases
Search engine documentation vs EveryInfra
The platform page does not let one document about snippets stand for the whole platform, so it has no comparison row.
| Compared | Search engine documentation | EveryInfra |
|---|
There is no comparison row. Official sources:
What does each SERP action accept?
Parameter table for all 1 actions
Sync delivery for every action.
| Action | Required | Optional | Limit | Per 1,000 | Response fields |
|---|---|---|---|---|---|
searchSearch Run a web search and get ranked results with title, URL, snippet, position and publish date. An image and sub-links come back when present. | keyword | country, language | Catalog value: maxLimit=10. Check the action notes before treating it as the final row count. A larger limit is accepted and capped at 10. | $1.39 per 1,000 requests | title · url · text · rank · published_at · image_url · sub_links |
What each action's parameters mean (1 actions)
Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.
Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.
What do the SERP search parameters mean?
Run a web search and get ranked results with title, URL, snippet, position and publish date. An image and sub-links come back when present. country and language set preferences but do not guarantee that every result matches. Pages are not fetched in full, and published_at may be missing or wrong.
keywordRequired- Specifies the web search query expression. Returns result titles, URLs, and snippets; it does not fetch the full page content of the search results or filter by platform name.Google: Search snippets versus source web page text — Google defines snippets as descriptions or summaries displayed within search results, noting that snippets can change dynamically based on the search query or originate from page meta descriptions. The text returned by this action is not the full text of the target page; verified source pages must be checked directly when citing facts. · Checked
countryOptional- Sets a country or region preference for search results using a code such as us. It affects geographic relevance, not the calling server's location, and does not guarantee that every result is located in that country.
languageOptional- Sets the search interface and result-language preference, such as en or zh-cn. It does not translate the returned page content.
How to use the SERP API
- 01Choose a platform action from the public catalog.
- 02Send the platform, action, and required parameters to POST /api/v1/social.
- 03Read the result from the response. For an asynchronous action, poll the returned job ID.
- 04Store the response fields that your application needs.
curl -X POST https://api.everyinfra.com/api/v1/social \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"web","action":"search","params":{"keyword":"<keyword>"}}'
SERP API questions
What can I retrieve with the SERP API?
Set platform to web. The current catalog lists search. These action names identify different SERP objects or views; they are not interchangeable search modes.
Which input starts the SERP search request?
Specifies the web search query expression. Returns result titles, URLs, and snippets; it does not fetch the full page content of the search results or filter by platform name. Send it as keyword inside params.
Which fields can SERP search return?
Its declared schema includes title, text, rank, and published_at. A declared field can still be absent from an individual record, and every other action has its own field list.
Does every SERP action return immediately?
Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.