Pentas Docs
  • Overview
  • Quick Start
  • Reference
    • API Reference
      • NFT
      • User
      • Collection
      • Analytics
Powered by GitBook
On this page

Quick Start

PreviousOverviewNextAPI Reference

Last updated 2 years ago

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 hello@pentas.io to acquire your API keys.

Make your first request

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

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'
fetch("https://api.pentas.io/nft/?page=1", {
  "method": "GET"
});

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"
  }
]
  • Get your API keys
  • Make your first request
  • GETGet Feed NFTs