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": "0x0987654321098765432109876543210987654321",
    "ownerAddress": "0x1234567890123456789012345678901234567890"
  }
}'
{
  "$schema": "https://api.storyapis.com/api/v4/LicenseTokensResponseHumaBody.json",
  "data": [
    {
      "blockNumber": "<string>",
      "blockTime": "<string>",
      "burntAt": "<string>",
      "id": "<string>",
      "licenseTemplate": "<string>",
      "licenseTermsId": "<string>",
      "licensorIpId": "<string>",
      "owner": "<string>",
      "transferable": "<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
Available options:
blockNumber
orderDirection
enum<string>
default:desc
Available options:
asc,
desc
pagination
object
where
object

Response

data
object[] | null
required
$schema
string<uri>
Examples:
pagination
object