LicenseTerms
List LicenseTerms
Protocol API Overview
Collections
IPLicenseTerms
LicenseTemplates
LicenseTerms
LicenseTokens
Permissions
LicenseTerms
List LicenseTerms
Retrieve a paginated, filtered list of LicenseTerms
POST
/
api
/
v3
/
licenses
/
terms
curl --request POST \
--url https://api.storyapis.com/api/v3/licenses/terms \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Chain: <x-chain>' \
--data '{
"options": {
"orderBy": "id",
"orderDirection": "asc",
"pagination": {
"after": "<string>",
"before": "<string>",
"limit": 123
},
"where": {
"blockNumber": "<string>",
"id": "<string>"
}
}
}'
{
"data": [
{
"blockNumber": "<string>",
"blockTime": "<string>",
"id": "<string>",
"licenseTemplate": "<string>",
"licenseTerms": [
{}
],
"terms": {
"commercialAttribution": true,
"commercialRevCeiling": 123,
"commercialRevShare": 123,
"commercialUse": true,
"commercializerChecker": "<string>",
"commercializerCheckerData": "<string>",
"currency": "<string>",
"defaultMintingFee": 123,
"derivativeRevCeiling": 123,
"derivativesAllowed": true,
"derivativesApproval": true,
"derivativesAttribution": true,
"derivativesReciprocal": true,
"expiration": 123,
"royaltyPolicy": "<string>",
"transferable": true,
"uri": "<string>"
}
}
],
"next": "<string>",
"prev": "<string>"
}
Important! You must include an options object in your request body (though it can be left empty), otherwise your API call will not work!
When testing on this API Playground, you can do this by just inputting dummy fields to an options
property and deleting it.
Headers
API Key
Chain Destination
Body
application/json
Available options:
id
, blockNumber
, ipId
, resourceType
Available options:
asc
, desc
Response
200 - application/json
OK
curl --request POST \
--url https://api.storyapis.com/api/v3/licenses/terms \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Chain: <x-chain>' \
--data '{
"options": {
"orderBy": "id",
"orderDirection": "asc",
"pagination": {
"after": "<string>",
"before": "<string>",
"limit": 123
},
"where": {
"blockNumber": "<string>",
"id": "<string>"
}
}
}'
{
"data": [
{
"blockNumber": "<string>",
"blockTime": "<string>",
"id": "<string>",
"licenseTemplate": "<string>",
"licenseTerms": [
{}
],
"terms": {
"commercialAttribution": true,
"commercialRevCeiling": 123,
"commercialRevShare": 123,
"commercialUse": true,
"commercializerChecker": "<string>",
"commercializerCheckerData": "<string>",
"currency": "<string>",
"defaultMintingFee": 123,
"derivativeRevCeiling": 123,
"derivativesAllowed": true,
"derivativesApproval": true,
"derivativesAttribution": true,
"derivativesReciprocal": true,
"expiration": 123,
"royaltyPolicy": "<string>",
"transferable": true,
"uri": "<string>"
}
}
],
"next": "<string>",
"prev": "<string>"
}