Apinoa Docs

Answer

Ask Meta AI a question and get its answer, with its sources.

View raw .mdx
POST /v1/meta-ai/answer

Send the inputs as a JSON body. Meta AI often searches the web before it answers: allow up to 120 seconds.

Request

curl -X POST "https://gateway.apinoa.com/v1/meta-ai/answer" \
  -H "x-api-key: $APINOA_API_KEY" \
  -H "content-type: application/json" \
  -d '{"prompt": "What are the health benefits of green tea?", "country": "US"}'

Parameters

ParameterTypeRequiredNotes
promptstringyesThe question, as a person would type it.
countrystringThe market the answer is asked from, as an ISO 3166 country code. Each engine's page lists its countries.
includeenum listpage: also return the answer as a self-contained HTML page, in page.
nearstringAsk as if from this place: a city, region or US state ("Austin, Texas", "Austin, TX", "Texas"), or Google's canonical location name ("Austin,Texas,United States"). A name that matches more than one place is refused with the candidates. The place must be in the country asked.

The same parameters, and every response type, are in the OpenAPI document.

Response

Returns Answer in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "engine": "meta-ai",
    "prompt": "What are the health benefits of green tea?",
    "askedAt": "2026-11-20T22:53:03.096Z",
    "country": "US",
    "title": "Health benefits of green tea",
    "outcome": "answered",
    "blocks": [
      {
        "type": "paragraph",
        "markdown": "Green tea is one of the most studied drinks in nutrition research, largely because of its **catechins** — especially **epigallocatechin gall…"
      },
      {
        "type": "paragraph",
        "markdown": "Here’s what the evidence actually supports, and where it’s still mixed:"
      },
      {
        "type": "heading",
        "level": 3,
        "markdown": "Strongest / most consistent evidence"
      }
    ],
    "text": "Green tea is one of the most studied drinks in nutrition research, largely because of its catechins — especially epigallocatechin gallate (E…",
    "markdown": "Green tea is one of the most studied drinks in nutrition research, largely because of its **catechins** — especially **epigallocatechin gall…",
    "citations": [
      {
        "start": 177,
        "end": 301,
        "sources": [
          0
        ]
      },
      {
        "start": 431,
        "end": 561,
        "sources": [
          1
        ]
      },
      {
        "start": 562,
        "end": 690,
        "sources": [
          0
        ]
      }
    ],
    "sources": [
      {
        "url": "https://www.medscape.com/viewarticle/907456_3",
        "title": "Drinking Tea: Are the Health Benefits Real?",
        "site": "medscape.com",
        "favicon": "https://external.xx.fbcdn.net/emg1/v/t13/6448795917664452366?url=https%3a%2f%2fwww.google.com%2fs2%2ffavicons%3fdomain%3dwww.medscape.com%26…",
        "cited": true,
        "ext": {
          "sourceType": "THIRD_PARTY"
        }
      },
      {
        "url": "https://www.cebm.ox.ac.uk/publication/478284",
        "title": "Centre for Evidence-Based Medicine (CEBM), University of Oxford",
        "site": "cebm.ox.ac.uk",
        "favicon": "https://external.xx.fbcdn.net/emg1/v/t13/6952209899073228159?url=https%3a%2f%2fwww.google.com%2fs2%2ffavicons%3fdomain%3dwww.cebm.ox.ac.uk%2…",
        "cited": true,
        "ext": {
          "sourceType": "THIRD_PARTY"
        }
      },
      {
        "url": "https://www.sciencedirect.com/science/article/abs/pii/S0939475322002472",
        "title": "A comprehensive overview on the effects of green tea on anthropometric measures, blood pressure, glycemic and lipidemic status: An umbrella …",
        "site": "sciencedirect.com",
        "favicon": "https://external.xx.fbcdn.net/emg1/v/t13/7447256685806174489?url=https%3a%2f%2fwww.google.com%2fs2%2ffavicons%3fdomain%3dwww.sciencedirect.c…",
        "cited": true,
        "ext": {
          "sourceType": "THIRD_PARTY"
        }
      }
    ],
    "mentions": [],
    "cards": [],
    "suggestions": [],
    "ext": {
      "steps": [
        {
          "header": "Searching green tea benefits",
          "sources": [
            "https://www.sciencedirect.com/science/article/abs/pii/S0939475322002472",
            "https://gradedhealth.org/topics/green-tea",
            "https://www.healthline.com/nutrition/top-10-evidence-based-health-benefits-of-green-tea%239.-May-help-you-lose-weight"
          ]
        }
      ]
    }
  }
}

Errors

StatusCodeMeaning
400INVALID_PARAMSA parameter is missing, unknown or out of range, or the engine does not take it. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_CREDITSYour credits do not cover this call. Choose a plan or top up in the dashboard.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe engine answered with something unusable. Retry with backoff.
502UPSTREAM_TIMEOUTThe engine did not answer in time. Retry.
503SERVICE_UNAVAILABLEA temporary failure. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price 1.5 credits per call. Plans and credits.

Notes

  • Meta AI answers in the language of the prompt. language is not taken.
  • Each question is asked on its own: there is no conversation input, and no photos input.
  • Meta AI decides by itself whether to search the web. When it does, citations marks the text each source supports and sources lists the pages it found, with cited set on the ones the answer uses. Instagram accounts it names are in mentions, places it shows (with coordinates) in cards, and ext carries its search steps.
  • Meta AI declines some prompts, shopping questions among them. Such an answer comes back with outcome: "refused" and Meta AI's message in text.
  • Meta AI is asked from US, CA, GB, AU, DE, IN or BR.
  • An answer usually takes 5 to 30 seconds.

On this page