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

X-Api-Key
string
default:MhBsxkU1z9fG6TofE59KqiiWV-YlYE8Q4awlLQehF3U
required

API Key

X-Chain
string
default:story-aeneid
required

Chain Destination

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.