APISearch & ResearchWeb Tools

Web Search

Search for the web for information matching a query. The sample response includes titles. Use it to surface relevant records in a search or discovery tool. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.

Selected price
$0.005 / callPublished pricing
Sellers / APIs
4 / 4
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Web Search

Prepare your request, then continue with your agent.

Selected price

$0.005 / call

Provider
API
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
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.
Optional parameters (10)
Specifies the maximum number of search results to return per section (the sections are `web` and `news`. See the JSON response to visualize them).
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`.
The country code that determines the geographical focus of the web results.
The language of the web results that will be returned (BCP 47 format).
Configures the safesearch filter for content moderation. This allows you to decide whether to return NSFW content or not.
Requests knowledge results alongside web and news search.
include_domains array
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 array
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 array
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.
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"`.

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"
      }
    ]
  }
}

Response result

Response structure

Inferred from examples
  • metadataobject
    • latencynumber
    • querystring
    • search_uuidstring
  • resultsobject
    • newsobject[]
      • descriptionstring
      • page_agestring
      • thumbnail_urlstring
      • titlestring
      • urlstring
    • webobject[]
      • descriptionstring
      • favicon_urlstring
      • snippetsstring[]
      • thumbnail_urlstring
      • titlestring
      • urlstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
Keenable Public Search · POST · View API reference
$0 / 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—
—successP50—
Loading...
Selected pricing · youcomUSD / call
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: 3. Price update time: not supplied.

calls

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
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"
}'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
queryJSON request bodybodystringYesThe 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.
countJSON request bodybodyintegerNoSpecifies 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

offsetJSON request bodybodyintegerNoIndicates 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

countryJSON request bodybodystringNoThe 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"

languageJSON request bodybodystringNoThe 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"

safesearchJSON request bodybodystringNoConfigures the safesearch filter for content moderation. This allows you to decide whether to return NSFW content or not.

enum: "off", "moderate", "strict"

knowledgeJSON request bodybodystringNoRequests knowledge results alongside web and news search.

enum: "core"

include_domainsJSON request bodybodyarrayNoA 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

body.include_domains[] · Array item · string

exclude_domainsJSON request bodybodyarrayNoA 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

body.exclude_domains[] · Array item · string

boost_domainsJSON request bodybodyarrayNoA 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

body.boost_domains[] · Array item · string

strict_operatorsJSON request bodybodybooleanNoEnforce 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.

Sample response

Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.

Official example
{
  "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"
      }
    ]
  }
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Web Search

Search for the web for information matching a query. The sample response includes titles. Use it to surface relevant records in a search or discovery tool. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
keenable · Keenable Public Search: https://openany.si/markets/apis/capabilities/web-search?offering=bb9bdc2b-704e-4f9f-ae2f-3db85c8c49b4 · $0 / call
tavily · Tavily Keyless Search: https://openany.si/markets/apis/capabilities/web-search?offering=25bbb891-6cf3-48be-8ca0-3ae85c4f712a · $0.008–$0.016 / search
tinyfish · TinyFish Search: https://openany.si/markets/apis/capabilities/web-search?offering=f38c9e5b-2f71-4892-ae47-3defa3064f0a · $0 / call
youcom · Web Search (Basic, no extraction): https://openany.si/markets/apis/capabilities/web-search?offering=ae934460-5bfd-430e-8802-9605c0eca495 · $0.005 / call

## Selected API contract
Documentation: https://openany.si/apis/ae934460-5bfd-430e-8802-9605c0eca495
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/youcom/v1/search
Price: $0.005 / call
Provider: youcom
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
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"
}'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Web Search (Basic, no extraction)",
  "endpoint": "https://api.openany.si/v1/agent-apis/youcom/v1/search",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "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.",
      "location": "body",
      "name": "query",
      "nullable": false,
      "pointer": "/query",
      "required": true,
      "type": "string"
    },
    {
      "description": "Specifies the maximum number of search results to return per section (the sections are `web` and `news`. See the JSON response to visualize them).",
      "location": "body",
      "maximum": "100",
      "minimum": "1",
      "name": "count",
      "nullable": false,
      "pointer": "/count",
      "required": false,
      "type": "integer"
    },
    {
      "description": "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`.",
      "location": "body",
      "maximum": "9",
      "minimum": "0",
      "name": "offset",
      "nullable": false,
      "pointer": "/offset",
      "required": false,
      "type": "integer"
    },
    {
      "description": "The country code that determines the geographical focus of the web results.",
      "enum_values": [
        "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"
      ],
      "location": "body",
      "name": "country",
      "nullable": false,
      "pointer": "/country",
      "required": false,
      "type": "string"
    },
    {
      "description": "The language of the web results that will be returned (BCP 47 format).",
      "enum_values": [
        "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"
      ],
      "location": "body",
      "name": "language",
      "nullable": false,
      "pointer": "/language",
      "required": false,
      "type": "string"
    },
    {
      "description": "Configures the safesearch filter for content moderation. This allows you to decide whether to return NSFW content or not.",
      "enum_values": [
        "off",
        "moderate",
        "strict"
      ],
      "location": "body",
      "name": "safesearch",
      "nullable": false,
      "pointer": "/safesearch",
      "required": false,
      "type": "string"
    },
    {
      "description": "Requests knowledge results alongside web and news search.",
      "enum_values": [
        "core"
      ],
      "location": "body",
      "name": "knowledge",
      "nullable": false,
      "pointer": "/knowledge",
      "required": false,
      "type": "string"
    },
    {
      "description": "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.\n\nCannot be combined with `exclude_domains`; passing both will return a `422` error.",
      "item_type": "string",
      "location": "body",
      "name": "include_domains",
      "nullable": false,
      "pointer": "/include_domains",
      "required": false,
      "type": "array"
    },
    {
      "description": "A list of domains to exclude from search results. Results from these domains will be filtered out. Supports up to 5000 domains.\n\nCannot be combined with `include_domains`; passing both will return a `422` error.",
      "item_type": "string",
      "location": "body",
      "name": "exclude_domains",
      "nullable": false,
      "pointer": "/exclude_domains",
      "required": false,
      "type": "array"
    },
    {
      "description": "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.\n\nCan be combined with `exclude_domains`. Cannot be combined with `include_domains`. Passing both `boost_domains` and `include_domains` will return a `422` error.",
      "item_type": "string",
      "location": "body",
      "name": "boost_domains",
      "nullable": false,
      "pointer": "/boost_domains",
      "required": false,
      "type": "array"
    },
    {
      "description": "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.\n\nHas no effect with `extraction_mode: \"highlights\"`.",
      "location": "body",
      "name": "strict_operators",
      "nullable": false,
      "pointer": "/strict_operators",
      "required": false,
      "type": "boolean"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "5000",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Official example",
      "request": {
        "body": {
          "count": 10,
          "include_domains": [
            "timesofindia.indiatimes.com",
            "ndtv.com",
            "thehindu.com"
          ],
          "query": "What are the latest geopolitical updates from India"
        },
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "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"
            }
          ]
        }
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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"
    }'
  3. 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"
          }
        ]
      }
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Web Search with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.