Skip to main content
POST
/
licenses
/
tokens
Get License Tokens
curl --request POST \
  --url https://api.storyapis.com/api/v4/licenses/tokens \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "orderBy": "blockNumber",
  "orderDirection": "desc",
  "pagination": {
    "limit": 100,
    "offset": 0
  },
  "where": {
    "licensorIpId": "<string>",
    "ownerAddress": "<string>"
  }
}
'
{
  "data": [
    {
      "blockNumber": "<string>",
      "blockTime": "<string>",
      "burntAt": "<string>",
      "id": "<string>",
      "licenseTemplate": "<string>",
      "licenseTermsId": "<string>",
      "licensorIpId": "<string>",
      "owner": "<string>",
      "transferable": "<string>"
    }
  ],
  "$schema": "<string>",
  "pagination": {
    "hasMore": true,
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
orderBy
enum<string>
default:blockNumber

Field to order results by (only 'blockNumber' is supported)

Available options:
blockNumber
orderDirection
enum<string>
default:desc

Order direction for results ('asc' for ascending, 'desc' for descending)

Available options:
asc,
desc
pagination
object

Pagination configuration (optional, defaults: limit=100, offset=0)

where
object

Optional filter options for license tokens

Response

OK

data
object[] | null
required

List of license tokens matching the filter criteria

$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

"https://api.storyapis.com/api/v4/LicenseTokensResponseHumaBody.json"

pagination
object

Pagination metadata including total count and hasMore flag