Answer
Ask Meta AI a question and get its answer, with its sources.
POST /v1/meta-ai/answerSend 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
| Parameter | Type | Required | Notes |
|---|---|---|---|
prompt | string | yes | The question, as a person would type it. |
country | string | The market the answer is asked from, as an ISO 3166 country code. Each engine's page lists its countries. | |
include | enum list | page: also return the answer as a self-contained HTML page, in page. | |
near | string | Ask 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
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_PARAMS | A parameter is missing, unknown or out of range, or the engine does not take it. The message names it. |
| 401 | UNAUTHORIZED | The x-api-key header is missing, or the key is revoked or unknown. |
| 402 | INSUFFICIENT_CREDITS | Your credits do not cover this call. Choose a plan or top up in the dashboard. |
| 429 | MARKETPLACE_SATURATED | Too many concurrent calls. Retry after the Retry-After seconds. |
| 502 | UPSTREAM_ERROR | The engine answered with something unusable. Retry with backoff. |
| 502 | UPSTREAM_TIMEOUT | The engine did not answer in time. Retry. |
| 503 | SERVICE_UNAVAILABLE | A 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.
languageis not taken. - Each question is asked on its own: there is no
conversationinput, and nophotosinput. - Meta AI decides by itself whether to search the web. When it does,
citationsmarks the text each source supports andsourceslists the pages it found, withcitedset on the ones the answer uses. Instagram accounts it names are inmentions, places it shows (with coordinates) incards, andextcarries 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 intext. - Meta AI is asked from
US,CA,GB,AU,DE,INorBR. - An answer usually takes 5 to 30 seconds.