OpenAny
Get API keyAPI Key
APISearch & ResearchSEO/AEO

web logo
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.008–$0.016 / searchPublished pricing
Sellers / APIs
5 / 5
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Web Search API

Prepare your request, then continue with your agent.

Selected price

$0.008–$0.016 / search

The displayed rate follows the published options and billing groups. Final charges follow reported usage.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Web Search API

Web Tavily Keyless Search API

Search for tavily Keyless via API. 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: body
Selected implementation tavily · Tavily Keyless Search
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[].content Content
results[].id Identifier
results[].title Title
results[].favicon Returned favicon field
results[].images Returned images field
results[].published_date Returned published date field
results[].raw_content Returned raw content value (nullable in the reference)
results[].score Returned score field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/tavily/search' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "include_usage": true,
  "query": "who is Leo Messi?"
}'

Request and Response Examples

The response illustration is a schema template, not a captured business response. Replace request placeholders and read actual returned values for your target resource.

Published Web Tavily Keyless Search 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

View FAQ

Related APIs

Playground

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

Request parameters
body*object

body

Execute a search query using Tavily Search.

Response template · not a real response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
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—
Current
Tavily Keyless Search · POST · View API reference
$0.008–$0.016 / search1
100.00%successP501.66s
TinyFish Search · GET · View API reference
$0 / call—Select to load statistics
—successP50—
Web Search (Basic, no extraction) · POST · View API reference
$0.005 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · tavilyUSD / search
Unit price
$0.008–$0.016

The displayed rate follows the published options and billing groups. Final charges follow reported usage.

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: 7. Price update time: not supplied.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/tavily/search
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

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

ParameterLocationTypeRequiredDescription
queryJSON request bodybodystringYes

The search query to execute with Tavily.

auto_parametersJSON request bodybodybooleanNo

When `auto_parameters` is enabled, Tavily automatically configures search parameters based on your query's content and intent. You can still set other parameters manually, and your explicit values will override the automatic ones. The parameters `include_answer`, `include_raw_content`, and `max_results` must always be set manually, as they directly affect response size. Note: `search_depth` may be automatically set to advanced when it's likely to improve results. This uses 2 API credits per request. To avoid the extra cost, you can explicitly set `search_depth` to `basic`.

chunks_per_sourceJSON request bodybodyintegerNo

Chunks are short content snippets (about 500 characters each for `basic` and `fast`, 800 for `advanced`) pulled directly from the source. Use `chunks_per_source` to define the maximum number of relevant chunks returned per source and to control the `content` length. Chunks will appear in the `content` field as: `<chunk 1> [...] <chunk 2> [...] <chunk 3>`. Adjacent chunks may be joined into one longer passage, so chunk length is a target, not a hard limit. Available when `search_depth` is `advanced`, `basic` or `fast`.

minimum: 1 · maximum: 3

countryJSON request bodybodystringNo

Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is `general`.

enum: "afghanistan", "albania", "algeria", "andorra", "angola", "argentina", "armenia", "australia", "austria", "azerbaijan", "bahamas", "bahrain", "bangladesh", "barbados", "belarus", "belgium", "belize", "benin", "bhutan", "bolivia", "bosnia and herzegovina", "botswana", "brazil", "brunei", "bulgaria", "burkina faso", "burundi", "cambodia", "cameroon", "canada", "cape verde", "central african republic", "chad", "chile", "china", "colombia", "comoros", "congo", "costa rica", "croatia", "cuba", "cyprus", "czech republic", "denmark", "djibouti", "dominican republic", "ecuador", "egypt", "el salvador", "equatorial guinea", "eritrea", "estonia", "ethiopia", "fiji", "finland", "france", "gabon", "gambia", "georgia", "germany", "ghana", "greece", "guatemala", "guinea", "haiti", "honduras", "hungary", "iceland", "india", "indonesia", "iran", "iraq", "ireland", "israel", "italy", "jamaica", "japan", "jordan", "kazakhstan", "kenya", "kuwait", "kyrgyzstan", "latvia", "lebanon", "lesotho", "liberia", "libya", "liechtenstein", "lithuania", "luxembourg", "madagascar", "malawi", "malaysia", "maldives", "mali", "malta", "mauritania", "mauritius", "mexico", "moldova", "monaco", "mongolia", "montenegro", "morocco", "mozambique", "myanmar", "namibia", "nepal", "netherlands", "new zealand", "nicaragua", "niger", "nigeria", "north korea", "north macedonia", "norway", "oman", "pakistan", "panama", "papua new guinea", "paraguay", "peru", "philippines", "poland", "portugal", "qatar", "romania", "russia", "rwanda", "saudi arabia", "senegal", "serbia", "singapore", "slovakia", "slovenia", "somalia", "south africa", "south korea", "south sudan", "spain", "sri lanka", "sudan", "sweden", "switzerland", "syria", "taiwan", "tajikistan", "tanzania", "thailand", "togo", "trinidad and tobago", "tunisia", "turkey", "turkmenistan", "uganda", "ukraine", "united arab emirates", "united kingdom", "united states", "uruguay", "uzbekistan", "venezuela", "vietnam", "yemen", "zambia", "zimbabwe"

end_dateJSON request bodybodystringNo

Will return all results before the specified end date based on publish date or last updated date. Required to be written in the format YYYY-MM-DD. By default, results with no detectable published date are not removed; set `filter_by_published_date` to `true` to remove them.

exact_matchJSON request bodybodybooleanNo

Ensure that only search results containing the exact quoted phrase(s) in the query are returned, bypassing synonyms or semantic variations. Wrap target phrases in quotes within your query (e.g. `"John Smith" CEO Acme Corp`). Punctuation is typically ignored inside quotes.

exclude_domainsJSON request bodybodyarrayNo

A list of domains to specifically exclude from the search results. Maximum 150 domains.

Nested fields and variants

body.exclude_domains[] · Array item · string

filter_by_languageJSON request bodybodybooleanNo

Strictly filter out search results that don't match the `language` parameter, instead of only boosting them in ranking. Requires `language` to be set; returns a 400 error otherwise.

filter_by_published_dateJSON request bodybodybooleanNo

Remove results whose published date falls outside the `time_range`, `start_date`, or `end_date` window. Results with no detectable published date are also removed. Setting this to `true` also enables `include_published_date`. If you want date-window filtering but don't want to lose sources without a detectable date, leave this `false` and set `include_published_date: true` together with a date range instead.

include_answerJSON request bodybodyboolean | stringNo

Include an LLM-generated answer to the provided query. `basic` or `true` returns a quick answer. `advanced` returns a more detailed answer.

include_domainsJSON request bodybodyarrayNo

A list of domains to specifically include in the search results. Maximum 300 domains.

Nested fields and variants

body.include_domains[] · Array item · string

include_domains_modeJSON request bodybodystringNo

Controls how `include_domains` is applied. `restrict` limits results to only the listed domains. `prefer` also searches the rest of the web, so results outside `include_domains` can still surface, rather than excluding them. Defaults to `restrict`, so `include_domains` acts as a hard filter unless set to `prefer`. Setting it without `include_domains` returns a 400 error.

enum: "restrict", "prefer"

include_faviconJSON request bodybodybooleanNo

Whether to include the favicon URL for each result.

include_image_descriptionsJSON request bodybodybooleanNo

When `include_images` is `true`, also add a descriptive text for each image.

include_imagesJSON request bodybodybooleanNo

Include images in the response. Returns both a top-level `images` list of query-related images and an `images` array inside each result object with images extracted from that specific source.

include_published_dateJSON request bodybodybooleanNo

Include a `published_date` field in each result. The date is Tavily's best estimate of when the source was published or last updated, so it can be later than the original publish date. Results with no detectable date return `null`. Automatically enabled when `topic` is `news`. **Note**: this feature is currently in beta.

include_raw_contentJSON request bodybodyboolean | stringNo

Include the cleaned and parsed HTML content of each search result. `markdown` or `true` returns search result content in markdown format. `text` returns the plain text from the results and may increase latency.

include_usageJSON request bodybodybooleanNo

Whether to include credit usage information in the response.

languageJSON request bodybodystringNo

Boost search results in a specific language. Accepts an ISO 639-1 code (e.g. `en`, `fr`, `zh-cn`) or an English language name (e.g. `english`, `french`). By default this only boosts matching-language results in ranking; pass `filter_by_language: true` to strictly filter out non-matching results instead. For best results, write your `query` in the same language you set here.

max_resultsJSON request bodybodyintegerNo

The maximum number of search results to return.

minimum: 0 · maximum: 20

safe_searchJSON request bodybodybooleanNo

Whether to filter out adult or unsafe content from results. Not supported for `fast` or `ultra-fast` search depths.

search_depthJSON request bodybodystringNo

Controls the latency vs. relevance tradeoff and how `results[].content` is generated: - `advanced`: Highest relevance with increased latency. Best for detailed, high-precision queries. Returns multiple semantically relevant snippets per URL (configurable via `chunks_per_source`). - `basic`: A balanced option for relevance and latency. Ideal for general-purpose searches. Returns multiple semantically relevant snippets per URL (configurable via `chunks_per_source`). - `fast`: Prioritizes lower latency while maintaining good relevance. Returns multiple semantically relevant snippets per URL (configurable via `chunks_per_source`). - `ultra-fast`: Minimizes latency above all else. Best for time-critical use cases. Returns one NLP summary per URL. **Cost**: - `basic`, `fast`, `ultra-fast`: 1 API Credit - `advanced`: 2 API Credits See [Search Best Practices](/documentation/best-practices/best-practices-search#search-depth) for guidance on choosing the right search depth.

enum: "advanced", "basic", "fast", "ultra-fast"

start_dateJSON request bodybodystringNo

Will return all results after the specified start date based on publish date or last updated date. Required to be written in the format YYYY-MM-DD. By default, results with no detectable published date are not removed; set `filter_by_published_date` to `true` to remove them.

time_rangeJSON request bodybodystringNo

The time range back from the current date to filter results based on publish date or last updated date. Useful when looking for sources that have published or updated data. By default, results with no detectable published date are not removed; set `filter_by_published_date` to `true` to remove them.

enum: "day", "week", "month", "year", "d", "w", "m", "y"

topicJSON request bodybodystringNo

The category of the search.`news` is useful for retrieving real-time updates, particularly about politics, sports, and major current events covered by mainstream media sources. `general` is for broader, more general-purpose searches that may include a wide range of sources.

enum: "general", "news", "finance"

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • answerstring
  • auto_parametersobject
    • search_depthstring
    • topicstring
  • imagesunknown[]
  • querystring
  • request_idstring
  • response_timestring
  • resultsobject[]
    • contentstring
    • faviconstring
    • idstring
    • imagesobject[]
      • descriptionstring
      • urlstring
    • published_datestring
    • raw_contentnull
    • scorenumber
    • titlestring
    • urlstring
  • usageobject
    • creditsinteger

Usage billing

The displayed rate follows the published options and billing groups. Final charges follow reported usage.

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

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

Schema template (HTTP assumed)

Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.

  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 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    Execute a search query using Tavily Search.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/tavily/search' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "include_usage": true,
      "query": "who is Leo Messi?"
    }'
  3. Check the response

    Response template · not a real response · Configured HTTP 200; actual status is unverified.

    Response template · not a real response
    {
      "answer": "Lionel Messi, born in 1987, is an Argentine footballer widely regarded as one of the greatest players of his generation. He spent the majority of his career playing for FC Barcelona, where he won numerous domestic league titles and UEFA Champions League titles. Messi is known for his exceptional dribbling skills, vision, and goal-scoring ability. He has won multiple FIFA Ballon d'Or awards, numerous La Liga titles with Barcelona, and holds the record for most goals scored in a calendar year. In 2014, he led Argentina to the World Cup final, and in 2015, he helped Barcelona capture another treble. Despite turning 36 in June, Messi remains highly influential in the sport.",
      "auto_parameters": {
        "search_depth": "basic",
        "topic": "general"
      },
      "images": [],
      "query": "Who is Leo Messi?",
      "request_id": "123e4567-e89b-12d3-a456-426614174111",
      "response_time": "1.67",
      "results": [
        {
          "content": "Lionel Messi, an Argentine footballer, is widely regarded as one of the greatest football players of his generation. Born in 1987, Messi spent the majority of his career playing for Barcelona, where he won numerous domestic league titles and UEFA Champions League titles. Messi is known for his exceptional dribbling skills, vision, and goal",
          "favicon": "https://britannica.com/favicon.png",
          "id": "a3f9c2-04",
          "images": [
            {
              "description": "<description>",
              "url": "<url>"
            }
          ],
          "published_date": "Tue, 11 Mar 2025 17:00:00 GMT",
          "raw_content": null,
          "score": 0.81025416,
          "title": "Lionel Messi Facts | Britannica",
          "url": "https://www.britannica.com/facts/Lionel-Messi"
        }
      ],
      "usage": {
        "credits": 1
      }
    }

Common questions

Which inputs identify this request?

Provide query in body (string). Keep identifiers and URLs in the formats documented for this implementation.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Web Search API with your agent

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