🛠️Data API
Get information for all tokens and latest trades on Moonshot
API calls are limited to 600 requests per minute. If you need higher rate limits please reach out to us.
Get token by pair or token id
GEThttps://api.moonshot.cc/token/v1/{chainId}/{pairIdOrTokenId}
Path parameters
chainId*string
pairIdOrTokenId*string
Pair/curve address or token address
Response
Ok
Body
url*string
chainId*string
dexId*string
pairAddress*string
baseToken*object
quoteToken*object
priceNative*string
priceUsdstring
txns*object
volume*object
makers*object
priceChange*object
liquidityobject
fdvnumber
marketCapnumber
createdAtnumber
moonshot*object
profileobject
Request
Response
Get all tokens by specified view id (trending, new, etc)
GEThttps://api.moonshot.cc/tokens/v1/{viewId}/{chainId}
Path parameters
chainId*string
viewId*enum
trendingtoprisingnewfinalized
Response
Ok
Body
url*string
chainId*string
dexId*string
pairAddress*string
baseToken*object
quoteToken*object
priceNative*string
priceUsdstring
txns*object
volume*object
makers*object
priceChange*object
liquidityobject
fdvnumber
marketCapnumber
createdAtnumber
moonshot*object
profileobject
Request
Response
Get latest trades for a specified token
GEThttps://api.moonshot.cc/trades/v1/latest/{chainId}/{pairIdOrTokenId}
Path parameters
chainId*string
pairIdOrTokenId*string
Pair/curve address or token address
Response
Ok
Body
dexId*string
blockNumber*integer
blockTimestamp*integer
pairId*string
asset0Id*string
asset1Id*string
txnId*string
maker*string
type*enum
buysell
amount0*string
amount1*string
priceNative*string
priceUsdstring
volumeUsd*string
metadataobject
Request
Response
Get latest trades for all tokens
GEThttps://api.moonshot.cc/trades/v1/latest/{chainId}
Path parameters
chainId*string
Response
Ok
Body
dexId*string
blockNumber*integer
blockTimestamp*integer
pairId*string
asset0Id*string
asset1Id*string
txnId*string
maker*string
type*enum
buysell
amount0*string
amount1*string
priceNative*string
priceUsdstring
volumeUsd*string
metadataobject
Request
Response
Last updated