# Answer

Get Web Answer data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Youcom, pass parameters such as query, and retrieve structured data including title, description, returned snippets field, returned URL, and returned answer field to search interfaces and source review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/web/web-answer/?offering=9833050b-a493-4355-b475-21827263e2ca
API ID: 9833050b-a493-4355-b475-21827263e2ca
Provider: youcom
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/youcom/v1/answer
Page update time: 2026-12-03T02:53:21.432Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.005 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:53:15.679Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "5000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Answer request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "The search query used to retrieve relevant web results.",
          "maxLength": 400
        },
        "country": {
          "type": "string",
          "description": "A supported 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": {
          "type": "string",
          "description": "A supported BCP 47 language tag that determines the language of the web results.",
          "enum": [
            "AR",
            "EU",
            "BN",
            "BG",
            "CA",
            "HR",
            "CS",
            "DA",
            "NL",
            "EN",
            "EN-GB",
            "ET",
            "FI",
            "FR",
            "GL",
            "DE",
            "EL",
            "GU",
            "HE",
            "HI",
            "HU",
            "IS",
            "IT",
            "KN",
            "KO",
            "LV",
            "LT",
            "MS",
            "ML",
            "MR",
            "NB",
            "PL",
            "PA",
            "RO",
            "RU",
            "SR",
            "SK",
            "SL",
            "ES",
            "SV",
            "TA",
            "TE",
            "TH",
            "TR",
            "UK",
            "VI"
          ]
        },
        "safesearch": {
          "type": "string",
          "description": "Configures the safesearch filter for content moderation. This allows you to decide whether to return NSFW content or not.",
          "enum": [
            "off",
            "moderate",
            "strict"
          ]
        },
        "include_domains": {
          "type": "array",
          "description": "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`.",
          "items": {
            "type": "string"
          }
        },
        "exclude_domains": {
          "type": "array",
          "description": "Domains to exclude from web results. Supports up to 500 domains. Cannot be combined with `include_domains`. Can be combined with `boost_domains`.",
          "items": {
            "type": "string"
          }
        },
        "boost_domains": {
          "type": "array",
          "description": "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`.",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "query"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "answer": {
      "type": "string"
    },
    "citations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "excerpts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "source": {
            "type": "string"
          }
        }
      }
    },
    "results": {
      "type": "object",
      "properties": {
        "web": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "snippets": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "page_age": {
                "type": "string"
              },
              "thumbnail_url": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/youcom/v1/answer' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "query": "what causes the aurora borealis"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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"
      }
    ]
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- youcom: https://openany.si/market/apis/web/web-answer/?offering=9833050b-a493-4355-b475-21827263e2ca

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
