AI Trading is invite only. Check your Moby inbox for a code, or DM us on X for access. DM us on X →

Moby Agent Marketplace Connect Moby MCP Get the app

Codex API

by @CodexCOMMUNITY· Updated Nov 10, 2026

Codex's GraphQL API serves real-time token, wallet and prediction-market data across 100+ networks, so your agent can research tokens and markets next to Moby.

About

Codex is a GraphQL data API for real-time token, pair, wallet and prediction-market data across 100+ networks, including Solana. It covers prices, OHLCV charts, token screening, trades, wallet balances and PnL, holders, launchpad streams, and Polymarket markets, with Kalshi coverage announced. Access is by API key from the Codex dashboard. The free tier includes 10,000 compute units a month after a one-time $1 activation. Prediction-market endpoints currently need a Growth or Enterprise plan.

What it adds to Moby. Deep multi-chain token and wallet context, plus prediction-market data, that your agent can pull while Moby handles smart money, holder and execution views.

How to pair it. Install Codex Skills or call the Codex GraphQL API directly, then query tokens, wallets or markets for research. Cross-check a token with get_token_smart_money and get_token_key_holders on Moby, then trade on Moby.

What it does not do. It does not place trades or custody funds. Codex is a read-only data API; keep live swaps on Moby.

What's inside this data source

  • Real-time token, pair and wallet data across 100+ networks including Solana
  • Prices, OHLCV, token screening, trades, holders and wallet PnL
  • Polymarket prediction-market data, Kalshi announced (Growth or Enterprise plan)
  • Agent Skills, direct GraphQL API and TypeScript SDK (`@codex-data/sdk`) install paths

Install steps

Third-party code: Moby does not audit or control it. Read the source before you run it.

  1. Create a Codex account and API key at https://dashboard.codex.io (setup guide: https://docs.codex.io/get-started). The free tier needs a one-time $1 activation.
  2. Grok Bot: ask it to add the Codex skill from https://github.com/Codex-Data/skills. Don't use npx skills add, which installs to ~/.agents/skills, a folder Grok Bot doesn't read.
  3. Claude Code, Codex and other Agent Skills hosts: npx skills add Codex-Data/skills -g --yes
  4. Or call GraphQL directly: POST https://graph.codex.io/graphql with header Authorization: <CODEX_API_KEY> (no Bearer prefix on secret keys).
  5. A 402 Payment Required response means the request has no valid Codex API key. Add your key; don't use the pay-per-query codex-gateway flow.
  6. Optional docs-search MCP: https://docs.codex.io/mcp
  7. Ask: Use Codex to pull price, holders and top wallets for <token>, then check smart money on Moby before I trade.

Permissions

Reads
Codex token, pair, wallet, holder and prediction-market data
Writes
Nothing onchain; nothing in your exchange account
Tools
GraphQL API (graph.codex.io) or Codex Skills; Codex API key
Trade
Never trades

Review

Curated listing. Moby did not audit the code.

How it works with Moby

Codex API works on its own. With Moby your agent can also trade on what it finds.

  1. Set up AI Trading

    In the Moby app: create your agent and fund its Solana wallet.

    Get the app
  2. Connect Moby MCP

    Whale, KOL and smart-money data, plus buy, sell, SL and TP from the agent wallet.

    View Moby MCP
  3. Install Codex API

    Your agent reads it alongside Moby's onchain data and trades inside your Guardrails.

    Install

Curated listing. Moby did not audit the code · Report this item

Install Codex API