Web Search API
Search Web via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 5 implementations (Keenable, Search1API, Tavily and Tinyfish), pass parameters such as query, and retrieve structured data including title, returned acquired at field, description, returned published at field, and returned snippet field to search interfaces and source review, and integration reference.
- Selected price
- $0.005 / callPublished pricing
- Sellers / APIs
- 5 / 5
- Requests · 30d
- 11Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
Web Search API
Prepare your request, then continue with your agent.
Selected price
$0.005 / call
- Provider
- API
- Pricing
On this page
Overview
Web Search (Basic, no extraction) API
Search for web and news results with all page-extraction options disabled. Provide query in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: query, count, offset, country, language, safesearch, knowledge, include_domains, exclude_domains, boost_domains, strict_operators |
| Selected implementation | youcom · Web Search (Basic, no extraction) |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
results.news[].title |
Title |
results.news[].description |
Description |
results.news[].page_age |
Returned page age field |
results.news[].thumbnail_url |
Returned thumbnail url field |
results.news[].url |
Returned URL |
results.web[].title |
Title |
results.web[].description |
Description |
results.web[].favicon_url |
Returned favicon url field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/youcom/v1/search' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"count": 10,
"include_domains": [
"timesofindia.indiatimes.com",
"ndtv.com",
"thehindu.com"
],
"query": "What are the latest geopolitical updates from India"
}'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Web Search (Basic, no extraction) API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| Keenable Public Search · POST · View API reference | $0 / call | —Select to load statistics | —successP50— | |
| Search1API Web Search · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Tavily Keyless Search · POST · View API reference | $0.008–$0.016 / search | —Select to load statistics | —successP50— | |
| TinyFish Search · GET · View API reference | $0 / call | —Select to load statistics | —successP50— | |
Current Web Search (Basic, no extraction) · POST · View API reference | $0.005 / call | 11 | 100.00%successP501.15s |
- Unit price
- $0.005
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.5
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/youcom/v1/search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | JSON request bodybody | string | Yes | The search query used to retrieve relevant results from the web. You can also include [search operators](https://you.com/docs/guides/search/search-operators) to refine your search. |
count | JSON request bodybody | integer | No | Specifies the maximum number of search results to return per section (the sections are `web` and `news`. See the JSON response to visualize them). minimum: 1 · maximum: 100 |
offset | JSON request bodybody | integer | No | Indicates the `offset` for pagination. The `offset` is calculated in multiples of `count`. For example, if `count = 5` and `offset = 1`, results 5–10 will be returned. Range `0 ≤ offset ≤ 9`. minimum: 0 · maximum: 9 |
country | JSON request bodybody | string | No | The country code that determines the geographical focus of the web results. enum: "AR", "AU", "AT", "BE", "BR", "CA", "CL", "DK", "FI", "FR", "DE", "HK", "IN", "ID", "IT", "JP", "KR", "MY", "MX", "NL", "NZ", "NO", "CN", "PL", "PT", "PH", "RU", "SA", "ZA", "ES", "SE", "CH", "TW", "TR", "GB", "US" |
language | JSON request bodybody | string | No | The language of the web results that will be returned (BCP 47 format). enum: "AR", "EU", "BN", "BG", "CA", "ZH-HANS", "ZH-HANT", "HR", "CS", "DA", "NL", "EN", "EN-GB", "ET", "FI", "FR", "GL", "DE", "EL", "GU", "HE", "HI", "HU", "IS", "IT", "JA", "KN", "KO", "LV", "LT", "MS", "ML", "MR", "NB", "PL", "PT-BR", "PT-PT", "PA", "RO", "RU", "SR", "SK", "SL", "ES", "SV", "TA", "TE", "TH", "TR", "UK", "VI" |
safesearch | JSON request bodybody | string | No | Configures the safesearch filter for content moderation. This allows you to decide whether to return NSFW content or not. enum: "off", "moderate", "strict" |
knowledge | JSON request bodybody | string | No | Requests knowledge results alongside web and news search. enum: "core" |
include_domains | JSON request bodybody | array | No | A list of domains to restrict search results to. Only results from these domains will be returned. Supports up to 500 domains. This is a strict allowlist, not a boost — results are limited exclusively to the specified domains. Cannot be combined with `exclude_domains`; passing both will return a `422` error. Nested fields and variants
|
exclude_domains | JSON request bodybody | array | No | A list of domains to exclude from search results. Results from these domains will be filtered out. Supports up to 5000 domains. Cannot be combined with `include_domains`; passing both will return a `422` error. Nested fields and variants
|
boost_domains | JSON request bodybody | array | No | A list of domains to boost in search ranking. Matching results from these domains receive a fixed relative ranking boost, but this is not a filter. If the boosted domains do not have matching results, results from other domains can still appear. Supports up to 500 domains. Can be combined with `exclude_domains`. Cannot be combined with `include_domains`. Passing both `boost_domains` and `include_domains` will return a `422` error. Nested fields and variants
|
strict_operators | JSON request bodybody | boolean | No | Enforce search operators such as quoted phrases and `site:` exactly. By default, when a query's operators match no pages, the search relaxes them and returns the closest matches. Has no effect with `extraction_mode: "highlights"`. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
metadataobjectlatencynumberquerystringsearch_uuidstring
resultsobjectnewsobject[]descriptionstringpage_agestringthumbnail_urlstringtitlestringurlstring
webobject[]descriptionstringfavicon_urlstringsnippetsstring[]thumbnail_urlstringtitlestringurlstring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 11
Review these request fields before running. Keep the published provider and request method unchanged.
query- The search query used to retrieve relevant results from the web. You can also include [search operators](https://you.com/docs/guides/search/search-operators) to refine your search.
count- Specifies the maximum number of search results to return per section (the sections are `web` and `news`. See the JSON response to visualize them).
offset- Indicates the `offset` for pagination. The `offset` is calculated in multiples of `count`. For example, if `count = 5` and `offset = 1`, results 5–10 will be returned. Range `0 ≤ offset ≤ 9`.
country- The country code that determines the geographical focus of the web results.
language- The language of the web results that will be returned (BCP 47 format).
safesearch- Configures the safesearch filter for content moderation. This allows you to decide whether to return NSFW content or not.
knowledge- Requests knowledge results alongside web and news search.
include_domains- A list of domains to restrict search results to. Only results from these domains will be returned. Supports up to 500 domains. This is a strict allowlist, not a boost — results are limited exclusively to the specified domains. Cannot be combined with `exclude_domains`; passing both will return a `422` error.
exclude_domains- A list of domains to exclude from search results. Results from these domains will be filtered out. Supports up to 5000 domains. Cannot be combined with `include_domains`; passing both will return a `422` error.
boost_domains- A list of domains to boost in search ranking. Matching results from these domains receive a fixed relative ranking boost, but this is not a filter. If the boosted domains do not have matching results, results from other domains can still appear. Supports up to 500 domains. Can be combined with `exclude_domains`. Cannot be combined with `include_domains`. Passing both `boost_domains` and `include_domains` will return a `422` error.
strict_operators- Enforce search operators such as quoted phrases and `site:` exactly. By default, when a query's operators match no pages, the search relaxes them and returns the closest matches. Has no effect with `extraction_mode: "highlights"`.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/youcom/v1/search' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "count": 10, "include_domains": [ "timesofindia.indiatimes.com", "ndtv.com", "thehindu.com" ], "query": "What are the latest geopolitical updates from India" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "metadata": { "latency": 0.6842031478881836, "query": "What are the latest geopolitical updates from India", "search_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "results": { "news": [ { "description": "New Delhi, Nov 25 (PTI) Amid a rapidly changing world and evolving geopolitics, India must move beyond a reactive approach and adopt a \"proactive\" outlook to make itself future-ready, Defence Minister Rajnath Singh said on Tuesday.", "page_age": "2025-11-25T12:31:29", "thumbnail_url": "https://static.theprint.in/wp-content/uploads/2023/06/theprint_default_image_new.jpg", "title": "India entering golden era of defence innovation: Rajnath", "url": "https://theprint.in/india/india-entering-golden-era-of-defence-innovation-rajnath/2791865/" }, { "description": "As tensions between India and Pakistan persist following recent military exchanges, analysts assess the broader geopolitical implications for South Asia and global powers.", "page_age": "2025-11-20T08:15:00", "thumbnail_url": "https://cdn.ndtv.com/common/images/ogndtv.png", "title": "India-Pakistan Tensions: Geopolitical Fallout and Regional Stability", "url": "https://www.ndtv.com/india-news/india-pakistan-tensions-geopolitical-fallout-2025" } ], "web": [ { "description": "European nations, particularly Denmark and Norway, are scrutinizing Chinese-made Yutong buses over security fears. Operators worry that 'over-the-air' software updates could allow remote immobilization of the fleet, mirroring concerns over Chinese tech in 5G networks. This potential vulnerability, inherent in connected vehicles, raises geopolitical questions about reliance on foreign manufacturers. India ...", "favicon_url": "https://you.com/favicon?domain=timesofindia.indiatimes.com&size=128", "snippets": [ "European nations, particularly Denmark and Norway, are scrutinizing Chinese-made Yutong buses over security fears. Operators worry that 'over-the-air' software updates could allow remote immobilization of the fleet, mirroring concerns over Chinese tech in 5G networks. This potential vulnerability, inherent in connected vehicles, raises geopolitical questions about reliance on foreign manufacturers. India secures 3rd place in Oz think tank's Asia Power Index", "Nations like New Zealand, parts of Australia, Iceland, and select South American and African countries are frequently cited as potentially more resilient to widespread conflict and its devastating aftermath. India-EU summit: FTA, defence and connectivity among key outcomes, EU seeks Paris commitment ... Pheasant Island, a tiny river island between Spain and France, uniquely swaps sovereignty every six months. This geopolitical gem's alternating control stems from the 1659 Treaty of the Pyrenees, a testament to centuries of cooperation.", "Check out for the latest news on geopolitics along with geopolitics live news at Times of India", "Despite massive viewership, he feels his content tackling geopolitical issues is too risky for corporate partners, leading him to expect no further wins. Economy enters H2 on stable footing: Finance ministry ... India's economy enters the second half of FY26 on a stable footing, supported by contained inflation, resilient domestic demand, and supportive policies. While global uncertainties pose risks to exports and capital flows, strong public capital expenditure and firming rural and urban demand are expected to maintain growth momentum." ], "thumbnail_url": "https://static.toiimg.com/photo/47529300.cms", "title": "Geopolitics News | Latest News on Geopolitics - Times of India", "url": "https://timesofindia.indiatimes.com/topic/geopolitics/news" }, { "description": "Find Geopolitical Latest News, Videos & Pictures on Geopolitical and see latest updates, news, information from NDTV.COM. Explore more on Geopolitical.", "favicon_url": "https://you.com/favicon?domain=www.ndtv.com&size=128", "snippets": [ "Gold surged above $4,000 an ounce to hit a record on Wednesday, driven by investors seeking safety from mounting economic and geopolitical uncertainty, alongside expectations of further interest rate cuts by the US Federal Reserve. In a landmark development that could reshape regional geopolitics, Afghan Foreign Minister Amir Khan Muttaqi of the Taliban government is all set to visit India on October 9.", "IndiGo flight 6E1703 from Kolkata touched down in the southern Chinese city of Guangzhou shortly before 4:00 am, officially resuming nonstop air links that had been suspended since 2020 due to the pandemic and subsequent geopolitical tensions.", "China's new visa programme aimed at attracting foreign tech talent launches this week, a move seen boosting Beijing's fortunes in its geopolitical rivalry with Washington as a new US visa policy prompts would-be applicants to search for alternatives.", "India's defence manufacturing is not only about Atmanirbharta, but also about making in India and selling to the world, according to industry leaders at the NDTV Defence Summit 2025." ], "thumbnail_url": "https://cdn.ndtv.com/common/images/ogndtv.png", "title": "Geopolitical: Latest News, Photos, Videos on Geopolitical - NDTV.COM", "url": "https://www.ndtv.com/topic/geopolitical" } ] } }