X data API

5 endpoints for X: profile, profile posts, post, post comments, followers. One API key, one JSON schema, as MCP tools or REST.

Endpoints

Call any of them over MCP with call_endpoint and its path, or over REST.

EndpointReturnsCreditsCache
profileGET /v1/twitter/profilePublic profile for a X account.115 min
profile/postsGET /v1/twitter/profile/postsRecent X posts by an account, newest first.110 min
postGET /v1/twitter/postOne X post by URL, with its engagement counts.110 min
post/commentsGET /v1/twitter/post/commentsComments on one X post, replies included.15 min
followersGET /v1/twitter/followersFollower and following counts for an X account.530 min

Connect your agent over MCP

Remote MCP server: https://data.openkrill.app/mcp with your key in the x-api-key header.

Claude Code · Run in a terminal
claude mcp add --transport http krilldata \
  https://data.openkrill.app/mcp \
  --header "x-api-key: YOUR_API_KEY"
Cursor · Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "krilldata": {
      "url": "https://data.openkrill.app/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}
Claude Desktop · Add to claude_desktop_config.json
{
  "mcpServers": {
    "krilldata": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://data.openkrill.app/mcp",
        "--header",
        "x-api-key:${API_KEY}"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}
X data API for AI agents | KrillData