Get Solana Token Details by Contract Address

Though this endpoint customers can obtain information about token details. This can be done by providing the contact address parameter.

Single Result - This endpoint returns only one single result. GET /blockchain-data/solana/{network}/tokens/{contractAddress}

Path Parameters

  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software

    Example : testnet
    Possible Values : mainnet testnet
  • Required
    contractAddress string

    Defines the specific address of the contract.

    Example : Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString

Response schema

200 400 401 402 403 404 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object
      • Optional
        collection object

        Object representation of the collection

        • Required
          address string

          String representation of the collection's address

          Example : 69k55dCTwiUPNgaTZ8FVMADorTvEGJEGuAGEB7m1qB1S
        • Required
          verified string

          Boolean representation of the collection's verification status

          Example : true
      • Required
        decimals string

        String representation of the token's decimals

        Example : 0
      • Optional
        description string

        String representation of the token's description

        Example : A Community Brand Capturing the Spirit of Perseverance and Ambition, in Style
      • Optional
        image string

        String representation of the token's image

        Example : https://ipfs.io/ipfs/QmQ5TWTtXoKeupMucMUuss8pCbt3ZyyfV3frCKPjzzJXQf/8877.png
      • Optional
        name string

        String representation of the token's name

        Example : BoDoggos #8877
      • Optional
        symbol string

        String representation of the token's symbol

        Example : DOG
      • Required
        totalSupply string

        String

        Example : 1
      • Required
        type string

        String representation of the token's type

        Example : spl-20

Credits Cost : 1000 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/solana/testnet/tokens/Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1?context=yourExampleString
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "collection": {
                "address": "69k55dCTwiUPNgaTZ8FVMADorTvEGJEGuAGEB7m1qB1S",
                "verified": "true"
            },
            "decimals": "0",
            "description": "A Community Brand Capturing the Spirit of Perseverance and Ambition, in Style",
            "image": "https://ipfs.io/ipfs/QmQ5TWTtXoKeupMucMUuss8pCbt3ZyyfV3frCKPjzzJXQf/8877.png",
            "name": "BoDoggos #8877",
            "symbol": "DOG",
            "totalSupply": "1",
            "type": "spl-20"
        }
    }
}