Guide
Market dataOn-chainSocial postsSentimentCrypto API key

Santiment API guide

Santiment is a long-running source of crypto social sentiment, useful as a filter on top of price signals.

Last verified · Also known as SanAPI, Santiment API, sanpy

Quick answer

Santiment’s SanAPI is a GraphQL API with hundreds of metrics: social volume and weighted sentiment, on-chain activity, exchange flows and GitHub development activity. The sanpy Python client wraps it. Free access has delayed and truncated history; paid plans unlock recent data.

Santiment API at a glance

Pricing
Free tier with delayed data; paid plans
Availability
Worldwide
Paper trading
Not applicable (data only)
Integration type
REST + API key
In AlgoGP
Design and backtest in AlgoGP, connect the exported code
API
GraphQL (https://api.santiment.net/graphql)
Python
sanpy
Free
Delayed, limited history

Build a Santiment strategy with AlgoGP

AlgoGP does not connect to Santiment natively yet. Santiment uses plain HTTPS with an API key, so it is a good candidate for a native adapter; it is not built in yet.

  1. 1

    Design and backtest in AlgoGP

    Describe the strategy to the copilot and backtest it on years of normalized history. The result does not depend on any vendor.

  2. 2

    Export the Python project

    Every project exports strategy.py, market_data.py, brokers.py and live.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format.

  3. 3

    Plug in Santiment

    Implement the four adapter methods (account, positions, submit_market_order and a candle fetcher) with Santiment’s SDK, or keep a built-in platform for paper trading and add Santiment when you go live.

Built-in data sources for the same markets: Alpaca, Binance, Coinbase Exchange, Yahoo Finance.

Santiment API: frequently asked questions

Is Santiment data free?

A free tier exists with delayed data; real-time requires a plan.

Design and backtest your Santiment strategy first

AlgoGP turns an idea into Python and tests it on years of history before you connect it to Santiment. The exported code keeps the broker behind four small adapter methods.

  • AI copilot writes and revises the rules
  • Backtests with realistic costs
  • Exported Python ready to wire to Santiment

Free plan, no card required.

Santiment alternatives

Independent guide. AlgoGP is not affiliated with Santiment. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.

Build a strategy