API Reference

Highlight benefits associated with a specific Token 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 "Bonk":
Request:

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

Explanation:
This will return the latest 20 Benefits from the "BONK" token.

Benefits by Contract Address

Retrieve benefits for a token through the token contract address.
Request:

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

Explanation:
This will return the latest 20 Benefits from the collection with the address "0xcf0c122c6b73ff809c693db761e7baebe62b6a2e" which is FLOKI.

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