swap.coffee home pagelight logodark logo
  • Community
  • App
  • App
Labels
Create a new label
  • Documentation
  • GitHub
  • Developer Chat
  • Developer Channel
  • TokensDB API
  • Aggregator API
  • Tokens
    • GET
      List Blockchains
    • GET
      List all tokens sorted by TVL (Total Value Locked)
    • POST
      Bulk fetch tokens by addresses
    • POST
      Bulk fetch tokens by symbols
    • GET
      Get a token by ID
    • GET
      Get a token by symbol
    • GET
      Get a token by address
    • GET
      List Blockchains
    • GET
      List Tokens
    • GET
      Get Stacking Pool
    • GET
      Get Token
    Labels
    • GET
      List all labels
    • POST
      Create a new label
    • PUT
      Update a label
    • DEL
      Delete a label
    • PUT
      Assign a label to a token
    • DEL
      Remove a label from a token
    • PUT
      Assign a label to an address
    • PUT
      Assign a label to a token
    • DEL
      Remove a label from a token
    Labels

    Create a new label

    POST
    /
    api
    /
    v2
    /
    labels
    {
      "id": 123,
      "name": "<string>",
      "color": "<string>"
    }

    Authorizations

    ​
    Authorization
    string
    header
    required

    Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

    Body

    application/json

    Response

    200
    application/json

    Successful Response

    The response is of type object.

    List all labelsUpdate a label
    telegramxdiscord
    Powered by Mintlify
    {
      "id": 123,
      "name": "<string>",
      "color": "<string>"
    }