Migrate.fun API
v1.0Access on-chain project data for the Migrate.fun platform on Solana.
Overview
The Migrate.fun API provides access to on-chain project data for all projects within the Migrate.fun platform. Data is fetched directly from the Solana blockchain.
Mainnet supported
Devnet supported
Endpoints
List all projects
GET/api/migrate-fun/projects$0.005 x402
Project metadata with token info
GET/api/migrate-fun/metadata/[id]$0.005 x402
Token decimals, program, and supply
GET/api/migrate-fun/mint-info/[id]$0.005 x402
Pool and quote token information
GET/api/migrate-fun/pool-info/[id]$0.005 x402
Migration progress and status
GET/api/migrate-fun/progress/[id]$0.005 x402
Error Codes
| Status | Description |
|---|---|
| 200 | Success - returns project list |
| 400 | Invalid network parameter |
| 500 | RPC connection error or internal server error |
Caching Behavior
Responses are cached in-memory for 5 minutes per network. When the cache expires and a new request comes in, the API fetches fresh data from the Solana RPC and updates the cache. The cached and cacheAge fields in the response indicate whether data was served from cache and how old it is.