Retrieve a token metadata
GET
Retrieve a token metadata from the Pump.fun Trading API. The metadata is fetched from the URI of the token.
Attributes
Useful for
Retrieving a token's metadata by its id.
Checking if a token has a website, image, or description.
Executing strategies based on a token's metadata.
Endpoint
https://api.tradepump.fun/v1/token/:id/metadata
Example Request
Node
Curl
Axios
1
2
3
4
5
6
7
8
9
import { PumpApiClient } from 'tradepumpfun';
const client = new PumpApiClient({
apiKey: '<your-api-key>'
});
await client.token.retrieveTokenMetadata({
mint: "<mint>",
});