Grokipedia Article details API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Read one Grokipedia article from its page link (url). The object has the full text as plain text, the table of contents, the references with title and link, and the links in the text to other Grokipedia articles. Images, edit history, the fact-check time and page HTML are not included.
Send POST https://api.everyinfra.com/api/v1/social with platform set to grokipedia and action set to article. Price $1.19 per 1,000 requests ($0.001194 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Grokipedia Article details endpoint (grokipedia/article).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to grokipedia and action to article, and put the parameters inside params.
- Required parameters:
- url: Grokipedia article link, such as https://grokipedia.com/page/Mount_Everest.
- Returns one object. Main fields: id (Article name: the part of the link afte…), title (Article title), url (Article link), text (Full article as plain text, without the…), table_of_contents (Section titles from the contents, in pa…), references (References from the references section…), links (Links in the text to other Grokipedia a…).
- Example request body:
{
"platform": "grokipedia",
"action": "article",
"params": {
"url": "https://grokipedia.com/page/Mount_Everest"
}
}
- Price: $1.19 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | grokipedia | Platform identifier, fixed value. |
action | body | string | Yes | article | Capability identifier, fixed value. |
url | body.params | string | Yes | - | Grokipedia article link, such as https://grokipedia.com/page/Mount_Everest. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "grokipedia",
"action": "article",
"params": {
"url": "https://grokipedia.com/page/Mount_Everest"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "grokipedia", "action": "article", "results": { "id": "Mount_Everest", "title": "Mount Everest", "url": "https://grokipedia.com/page/Mount_Everest", "text": "Mount Everest is Earth's highest mountain above sea level, with an elevation of 8,848.86 meters (29,031.7 feet) as jointly measured by Nepal and China in 2020.[1] Located in the Mahalangur Himal sub-range of the Himalayas, it lies on the border between Nepal to the south and the …", "table_of_contents": [ "Naming and Etymology", "Origins of Local Names", "Adoption of Western Name and Height Disputes" ], "references": [ { "title": "Mount Everest: China and Nepal agree on height after years of dispute", "url": "https://www.cnn.com/travel/article/mount-everest-height-intl-hnk-scli" }, { "title": "Where is Mount Everest Located? Location and Travel Routes", "url": "http://www.tibettour.org/everest-tour/where-mount-everest-located.html" }, { "title": "Everest: A Mountain of Many Names | KE Adventure Travel", "url": "https://www.keadventure.com/blog/everest-a-mountain-of-many-names" } ], "links": [ { "text": "Himalayas", "url": "https://grokipedia.com/page/Himalayas" }, { "text": "Nepal", "url": "https://grokipedia.com/page/Nepal" }, { "text": "Tibet Autonomous Region", "url": "https://grokipedia.com/page/Tibet_Autonomous_Region" } ], "platform": "grokipedia" }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | Article name: the part of the link after page/. |
title | Article title. |
url | Article link. |
text | Full article as plain text, without the read-aloud options and the “Fact-checked by Grok” line at the top of the page. |
table_of_contents | Section titles from the contents, in page order. |
references | References from the references section at the bottom of the article. Each has title and url. |
links | Links in the text to other Grokipedia articles. Each has text (link text) and url. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- Grokipedia ↗
Grokipedia's home page describes the site as an open source collection of all knowledge. Article pages live at grokipedia.com/page/<article name> and show a “Fact-checked by Grok” line before the text. The source supports reading an article by its page link; this API's parameters are defined by EveryInfra, and the source does not vouch for results.
Checked 2026-11-22