Answer

Retrieve answer via API. Supply a search query. Sample fields include answers and citations. Use the result as input for a related analysis or application. The POST request schema also lists country, language.

Selected price
$0.005 / callPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

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

Request parameters
The search query used to retrieve relevant web results.
Optional parameters (6)
A supported country code that determines the geographical focus of the web results.
A supported BCP 47 language tag that determines the language of the web results.
Configures the safesearch filter for content moderation. This allows you to decide whether to return NSFW content or not.
include_domains array
Domains to exclusively include in web results. This is a strict allowlist, not a ranking boost. Supports up to 500 domains. Cannot be combined with `exclude_domains` or `boost_domains`.
exclude_domains array
Domains to exclude from web results. Supports up to 500 domains. Cannot be combined with `include_domains`. Can be combined with `boost_domains`.
boost_domains array
Domains to prefer in search ranking without excluding results from other domains. Supports up to 500 domains. Can be combined with `exclude_domains`, but not with `include_domains`.

Sample response

{
  "answer": "The aurora borealis is caused by charged particles ejected from the Sun—carried by the solar wind and often intensified by solar flares or coronal mass ejections—that travel to Earth, are funneled by Earth's magnetic field toward the polar regions, and collide with oxygen and nitrogen atoms in the upper atmosphere. These collisions excite the atoms, which then release photons of light, creating the visible northern lights. [[1, 2, 3]]",
  "citations": [
    {
      "excerpts": [
        "Auroras are brilliant ribbons of light weaving across Earth's northern or southern polar regions. These natural light shows are caused by magnetic storms that have been triggered by solar activity, such as solar flares (explosions on the Sun) or coronal mass ejections (ejected gas bubbles). Energetic charged particles from these events are carried from the Sun by the solar wind.",
        "When these particles seep through Earth's magnetosphere, they cause substorms. Then fast moving particles slam into our thin, high atmosphere, colliding with Earth's oxygen and nitrogen particles. As these air particles shed the energy they picked up from the collision, each atom starts to glow in a different color."
      ],
      "source": "https://www.jpl.nasa.gov/nmp/st5/SCIENCE/aurora.html"
    },
    {
      "excerpts": [
        "The Aurora Borealis is a result of interactions between solar wind and the Earth's atmosphere. Solar wind is a stream of charged particles released from the sun's upper atmosphere, known as the corona. When these particles reach Earth, they collide with gases in our atmosphere, such as oxygen and nitrogen. These collisions excite the gas particles, causing them to emit light."
      ],
      "source": "https://www.valofinland.com/what-causes-the-colours-in-aurora-borealis/"
    },
    {
      "excerpts": [
        "When electrons fly through space, two things can happen: they are reflected away by the Earth's magnetic field, or they follow it to the poles. Because the magnetic field is weaker at the poles, the electrons are able to freely enter the atmosphere without being reflected away."
      ],
      "source": "https://triplefatgoose.com/blogs/down-time/understanding-the-aurora-borealis"
    }
  ],
  "results": {
    "web": [
      {
        "description": "Auroras are brilliant ribbons of light weaving across Earth's northern or southern polar regions.",
        "snippets": [
          "Auroras are brilliant ribbons of light weaving across Earth's northern or southern polar regions. These natural light shows are caused by magnetic storms that have been triggered by solar activity."
        ],
        "title": "How Auroras Form",
        "url": "https://www.jpl.nasa.gov/nmp/st5/SCIENCE/aurora.html"
      },
      {
        "description": "Discover what causes the northern lights to appear and why these mesmerizing displays illuminate Arctic skies in various colors. Learn when and where to witness this celestial phenomenon.",
        "page_age": "2025-06-13T04:55:47",
        "snippets": [
          "The northern lights, also known as aurora borealis, are a mesmerising natural light display that occurs when charged particles from the sun collide with gases in Earth's atmosphere."
        ],
        "thumbnail_url": "https://auroraqueenresort.fi/wp-content/uploads/2024/09/Aurora-Queen-Resort-1024x768.jpg",
        "title": "What causes the northern lights to appear? - Aurora Queen Resort",
        "url": "https://auroraqueenresort.fi/what-causes-the-northern-lights-to-appear/"
      },
      {
        "description": "Learn how charged particles from the sun produce the aurora borealis.",
        "snippets": [
          "When millions of photons of light are emitted at the same time, it causes the sky to light up and creates the Aurora Borealis."
        ],
        "title": "The Aurora Borealis",
        "url": "https://triplefatgoose.com/blogs/down-time/understanding-the-aurora-borealis"
      }
    ]
  }
}

Response result

Response structure

Inferred from examples
  • answerstring
  • citationsobject[]
    • excerptsstring[]
    • sourcestring
  • resultsobject
    • webobject[]
      • descriptionstring
      • snippetsstring[]
      • titlestring
      • urlstring
      • page_agestring
      • thumbnail_urlstring

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 Answer with your agent

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