# Which Solana on-chain data API can my AI agent use?

Source: https://kingmaker.guru/solana-onchain-data-api
Language: en · Español: https://kingmaker.guru/api-datos-onchain-solana.md
By: Elio DeFi (Elio Tapia) · Updated: 2026-11-30

KING MAKER's API gives AI agents and bots ready-to-use Solana and Hyperliquid data over REST (https://kingmaker.guru/api/v1/...) or MCP (https://kingmaker.guru/api/mcp): token reports with price, liquidity, holders and safety flags (mint/freeze authority, top-10 concentration, dev share), KING Scan 0–100 scores for trending memecoins, tokens several profitable wallets are buying, Hyperliquid perps markets, and REX AI perps ideas with entry, stop and target. The MCP server works without a key on a free tier; paid use is 1 credit (≈ $0.01) per call.

## Step by step

1. Fastest test, no key: add the MCP server https://kingmaker.guru/api/mcp in Claude, ChatGPT, Cursor or any MCP client and ask for today's KING Scan.
2. For REST, create a free API key in the app (Wallet → Advanced → KING Credits); your account gets free daily credits. Send it as x-api-key (REST) or Bearer (MCP).
3. Top up credits from $5 for 500 calls; failed calls are never charged.

## Endpoints

GET /api/v1/scan: trending Solana memecoins scored 0–100 by KING Scan.

GET /api/v1/signals: tokens bought by several tracked profitable traders in the last hours.

GET /api/v1/rexai: REX AI perps ideas (side, confidence, entry, stop, target, reasons).

GET /api/v1/briefing: one-call daily market read.

OpenAPI spec: https://kingmaker.guru/api/openapi · Agent-readable summary: https://kingmaker.guru/llms.txt.

## Built for agents

Compact JSON with the fields an agent needs to explain a token or a trade, plain-language safety flags, and the same data the KING MAKER app shows, so an agent's answer matches what a user sees in the app.

## FAQ

### Is there a free Solana data API for AI agents?

Yes. KING MAKER's MCP server works without a key (120 calls per hour per IP), and the REST API uses a free key with free daily credits.

### Does it include token safety (rug) checks?

Yes. Token reports include mint and freeze authority, liquidity, top-10 holder concentration, dev share and KING Scan flags.

### Can I get perps data too?

Yes: Hyperliquid perps markets (price, funding, open interest, max leverage) and REX AI perps ideas.

[API & MCP docs →](https://kingmaker.guru/developers)

## Related

- [What are the best crypto MCP servers for AI agents?](https://kingmaker.guru/best-crypto-mcp-servers.md)
- [How do I connect my AI agent to crypto trading data?](https://kingmaker.guru/connect-ai-agent-crypto-trading-data.md)
- [What is Solana trading intelligence?](https://kingmaker.guru/solana-trading-intelligence.md)
- [How do you check if a Solana token is a rug pull?](https://kingmaker.guru/solana-rug-checker.md)

> Leveraged perps can liquidate you and lose your whole margin. Memecoins are extremely risky. Perps aren't available in the US, Canada or the UK. Not financial advice.
