# Grokipedia Article details API (grokipedia.article)

- Canonical page: [https://everyinfra.com/en/grokipedia-api/article](https://everyinfra.com/en/grokipedia-api/article?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "grokipedia", "action": "article", "params": {...}}
- Price: $0.001194 per call ($1.19 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=grokipedia&action=article

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Grokipedia article link, such as `https://grokipedia.com/page/Mount_Everest`. |

## Response fields (items in `results`)

| 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). |

## Example

```bash
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"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "grokipedia",
        "action": "article",
        "params": {
            "url": "https://grokipedia.com/page/Mount_Everest",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-22T11:46:38Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "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": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=grokipedia
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
