Splot
Splot · Dashboard API

API & Integrations

Bring your NFT collection, creator discoveries and merch into a connected dashboard.

Read-only dataJSON over HTTPSPersonal keys + public calls

Connect your account

  1. Sign in to your Splot account and open key management. Regular accounts can manage their own key.
  2. Generate a personal read-only key and copy it when shown. If a key is already active, use your saved copy or coordinate replacement before revoking it.
  3. Connect the key to your trusted dashboard. Send it in the Authorization: Bearer YOUR_KEY header from your server.

Keep keys encrypted on the server. Do not place them in URLs, public pages, browser code, source control or shared documents. Revoke a key on the source site to stop future API reads; data already cached by a dashboard may remain until its private cache expires.

Generate or manage my key →

Available calls

Append a route below to this base URL:

https://splot.io/wp-json/splot/v1

Expand a call to see its parameters, request and response. Examples use fictional data and may omit fields; they are not your account data or a live quote.

GET/mePersonal key

My profile

Identify the account associated with the personal key. Example is a response excerpt.

Parameters · None

Example request

curl --request GET \
  --url 'https://splot.io/wp-json/splot/v1/me' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_KEY'

Example response excerpt · HTTP 200

{
  "id": 42,
  "username": "example_user",
  "display_name": "Example User"
}
GET/me/nftsPersonal key

My NFT collection

Current owned published NFTs with artwork, links and pagination. Example is a response excerpt.

Parameters · page; per_page 1–100; creator (optional original creator handle).

Example request

curl --request GET \
  --url 'https://splot.io/wp-json/splot/v1/me/nfts?page=1&per_page=6' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_KEY'

Example response excerpt · HTTP 200

{
  "items": [
    {
      "title": "Example artwork",
      "permalink": "https://splot.io/example-artwork/",
      "image": null
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 6,
    "total": 1,
    "total_pages": 1
  }
}
GET/me/merchPersonal key

My published merch

Products created by the account, including prices, images and stock. Example is a response excerpt.

Parameters · page; per_page 1–100.

Example request

curl --request GET \
  --url 'https://splot.io/wp-json/splot/v1/me/merch?page=1&per_page=6' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_KEY'

Example response excerpt · HTTP 200

{
  "items": [
    {
      "name": "Example shirt",
      "permalink": "https://splot.io/example-shirt/",
      "image": null,
      "price_min": "20.00",
      "currency": "USD",
      "in_stock": true
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 6,
    "total": 1,
    "total_pages": 1
  }
}
GET/nft-detailsPublic · no key

NFT details and provenance

Recorded owner, original minter and provenance for an NFT slug.

Parameters · slug: published NFT slug.

Example request

curl --request GET \
  --url 'https://splot.io/wp-json/splot/v1/nft-details?slug=loteria-tabla-069-nft-134633' \
  --header 'Accept: application/json'

Example response excerpt · HTTP 200

{
  "title": "Example artwork",
  "image": null,
  "owner": {
    "id": 42,
    "name": "Example User",
    "handle": "example_user",
    "url": "https://splot.io/profile/example_user"
  },
  "minter": {
    "id": 43,
    "name": "Example Artist",
    "handle": "example_artist",
    "url": "https://splot.io/profile/example_artist"
  },
  "history": [],
  "network": "Millix · DAG",
  "mint_timestamp": null,
  "mint_transaction_id": null
}
GET/artist-card/{post_id}Public · no key

Artist spotlight

Original creator profile, counts and related work for the supplied NFT post ID.

Parameters · post_id: positive NFT post ID, not a user ID.

Example request

curl --request GET \
  --url 'https://splot.io/wp-json/splot/v1/artist-card/134633' \
  --header 'Accept: application/json'

Example response excerpt · HTTP 200

{
  "name": "Example Artist",
  "handle": "example_artist",
  "bio": "Example artist biography",
  "avatar": null,
  "profile": "https://splot.io/profile/example_artist/",
  "gallery": "https://splot.io/profile/example_artist/#main",
  "collections": "",
  "store": "https://splot.io/stores/example_artist?tab=merch",
  "minted": 12,
  "available": 3,
  "works": [
    {
      "title": "Example work",
      "url": "https://splot.io/example-work/",
      "image": null
    }
  ]
}

Parameters and limits

Owned NFT and merch lists support page and per_page (1–100). NFT lists also accept creator, the original creator’s handle. Public artist cards use an NFT post ID, not a user ID. No shared rate-limit contract is published for these existing routes; cache sensibly and handle HTTP 429.

Amounts such as MLX and USD cents may be decimal strings. Preserve their precision instead of converting large values to floating-point numbers. Use the returned pagination totals. Times shown in examples are ISO 8601 UTC; display dates in the user’s timezone.

What the data means

Owned NFTs are current recorded ownership, not works originally minted by you. Merch means published products authored by your account, not purchase history. Prices are listing information, not an appraisal. Historical provenance may have missing dates.

Response handling

HTTPMeaning
200Successful read. An empty items array can be a valid result.
400Invalid or out-of-range parameters.
401Missing, invalid or revoked personal key.
429Too many requests. Wait before retrying.
503Data or a required source service is temporarily unavailable. Do not replace this with zero.

Use the HTTP status for error handling. Error bodies vary by route. Keep cached personal data private and short-lived; handle missing values and empty lists.

Optional PHP client

The API works with any language that can make HTTPS requests. A WordPress PHP reference client and README are also available as a convenience.

Download PHP client and README ↓