API Reference

Highlight benefits associated with a specific NFT collection to engage your community. This endpoint includes all benefits gathered from sources coming from Official, Third Party and Community Sources.

Examples

Benefits by Collection or Names

Retrieve benefits for the all collections containing "Bored":
Request:

GET https://www.themiracle.io/api/v1/benefits
  ?collection=Bored
  &limit=20

Explanation:
This will return the latest 20 Benefits from the "Bored Ape Yacht Club" collection as well as "Bored Ape Kennel Club" collection.

Benefits by Contract Address

Retrieve benefits for a collection through the collections contract address.
Request:

GET https://www.themiracle.io/api/v1/benefits
  ?contract=0xd774557b647330c91bf44cfeab205095f7e6c367
  &limit=20

Explanation:
This will return the latest 20 Benefits from the collection with the address "0xd774557b647330c91bf44cfeab205095f7e6c367".

Language
Credentials
Header
Click Try It! to start a request and see the response here!