Grokipedia API

Grokipedia is an online encyclopedia whose articles are written by xAI's Grok. article reads one article by its page link and returns it as one object.

Pass an article link such as https://grokipedia.com/page/Mount_Everest as url. id is the article name, the part of the link after page/. text is the 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 lists section titles in page order, references comes from the references section at the bottom, and links are links in the text to other Grokipedia articles. An article that does not exist returns an empty result and is not charged.

One API key is all you need, with no Grokipedia account or cookie. It also works as an MCP tool in Claude and Cursor, and you can claim $1 in trial credit to try it first.

Send POST https://api.everyinfra.com/api/v1/social with platform set to grokipedia and action set to a capability name from the list below, for example article.

  • 1 capability
  • $1.19 per 1,000 requests
  • No charge for failed calls or empty results

Platform availability

24h health
Normal
Normal

Last 30 days

Available capabilities

Each Grokipedia action, what it does, its price and its health over the last 24 hours. Open an action for its parameters, response fields and code samples.

CapabilityWhat it doesPer 1,00024-hour health · All normal
Article detailsarticleRead one Grokipedia article from its page link (url).$1.19 per 1,000 requestsNormal

5 questions to ask before choosing a data API for Grokipedia

Do I need to log in to Grokipedia or provide a cookie to make calls?

No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.

How is it billed? Are failed requests charged? Is there a free trial?

Billing is per request, $1.19 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.

Can I connect this Grokipedia API to Claude or Cursor?

Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.

What compliance points apply when using Grokipedia data?

The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.

What Grokipedia data can I get?

Available Grokipedia capabilities (1): Article details. The parameters and response fields of each capability are in the API reference on this page.

What does each Grokipedia action accept?

Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.

Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.

Sync delivery for every action.

ActionRequiredOptionalLimitPer 1,000Response fields
article

Article details

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.

url——$1.19 per 1,000 requestsid · title · url · text · table_of_contents · references · links · platform

What do the Grokipedia article parameters mean?

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.

Full API reference: parameters, code samples, response example and health
urlRequired
Grokipedia article link, such as https://grokipedia.com/page/Mount_Everest.
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

How to use the Grokipedia API

  1. 01Choose a platform action from the public catalog.
  2. 02Send the platform, action, and required parameters to POST /api/v1/social.
  3. 03Read the result from the response. For an asynchronous action, poll the returned job ID.
  4. 04Store the response fields that your application needs.
grokipedia_article.sh
curl -X POST https://api.everyinfra.com/api/v1/social \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"grokipedia","action":"article","params":{"url":"<url>"}}'

Grokipedia API questions

What can I retrieve with the Grokipedia API?

Set platform to grokipedia. The current catalog lists article details. These action names identify different Grokipedia objects or views; they are not interchangeable search modes.

Which input starts the Grokipedia article request?

Grokipedia article link, such as https://grokipedia.com/page/Mount_Everest. Send it as url inside params.

Which fields can Grokipedia article return?

Its declared schema includes title, text, table_of_contents, and references. A declared field can still be absent from an individual record, and every other action has its own field list.

Does every Grokipedia action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

Google Analytics needs consent. Privacy