Quick Start

Get your API keys

Your API requests are authenticated using API keys. Any request that doesn't include an API key may return an error.

For the time being, please contact [email protected] to acquire your API keys.

Make your first request

To make your first request, send an authenticated request to the NFT endpoint.

Get Feed NFTs

get

Returns an array of NFTs

Query parameters
pagenumber · min: 1OptionalDefault: 1Example: 1
Header parameters
API-Secret-TokenstringRequired
Responses
200
Example response
application/json
get
GET /assets HTTP/1.1
Host: api.pentas.io
API-Secret-Token: text
Accept: */*
200

Example response

[
  {
    "id": 0,
    "created": "string",
    "name": "string",
    "description": "string",
    "contentUrl": "string",
    "royalty": 0,
    "ipfscid": "string",
    "ipfscidMedia": "string",
    "mimeType": "string",
    "minter": "string",
    "minterDetails": {
      "id": 0,
      "name": "string",
      "username": "string",
      "address": "string",
      "profileImage": "string",
      "verified": true,
      "bannerUrl": "string",
      "collectorBadge": true
    },
    "owner": "string",
    "ownerDetails": {
      "id": 0,
      "name": "string",
      "username": "string",
      "address": "string",
      "profileImage": "string",
      "verified": true,
      "bannerUrl": "string",
      "collectorBadge": true
    },
    "scTokenId": 0,
    "likes": 0,
    "marketplace": {
      "price": 0,
      "priceUsd": 0,
      "active": true
    },
    "offer": {
      "created": "string",
      "token": 0,
      "buyer": "string",
      "buyerDetails": {
        "id": 0,
        "name": "string",
        "username": "string",
        "address": "string",
        "profileImage": "string",
        "verified": true,
        "bannerUrl": "string",
        "collectorBadge": true
      },
      "price": 0,
      "nft": null,
      "active": true
    },
    "collection": "string"
  }
]

Take a look at how you might call this method using our official libraries, or via curl:

curl 'https://api.pentas.io/nft/?page=1'

Last updated