Getting Started
Quick start for the TokenKit REST API on Starknet
TokenKit is a token launchpad on Starknet. Alongside the launchpad, you get a REST API that reads token data, transfers, balances, prices, and NFTs without you having to run a node or stand up an indexer.
The API is one of the tools that comes with TokenKit. If you only want to read Starknet token data, you can stop right here and just hit the endpoints below.
Info
Base URL: https://api.tokenkithq.io/api/
Everything you see here is v1. Anything that breaks will ship as v2.
A 30-second tour
- Get a key. Every call needs an
api-keyheader. See Authorization. - Pick what you want to read. Accounts, tokens, transfers, balances, prices, NFTs, indexer status, and a few others.
- Filter. List endpoints want at least one filter (an address, a tx hash, a block, or a search term). Bare list calls return
400 Bad Requeston purpose, so you don't accidentally scan the whole table. - Paginate. Most list endpoints take
limit(max 100) andpage(1-indexed).
Your first call
Address format
Note
You can pass Starknet addresses in any common form. The API normalizes them for you. Internally everything is stored as lowercase, 0x-prefixed, padded to 64 hex chars (66 chars total). If you want the fastest path, send addresses in that canonical form.
What's next
- Authorization - getting your API key
- API overview - every endpoint in one place
- Accounts - find and inspect wallets
- Transfers - read the transfer log
- Portfolio - total USD value at any point in time
- Indexer progress - see how caught up the indexer is