GET
/
node
/
v1
/
onchain
/
publishers
curl --request GET \
  --url https://{environment}.pragma.build/node/v1/onchain/publishers
[
  {
    "components": [
      {
        "daily_updates": 1,
        "decimals": 1,
        "last_updated_timestamp": 1,
        "pair_id": "<string>",
        "price": "<string>",
        "source": "<string>"
      }
    ],
    "daily_updates": 1,
    "last_updated_timestamp": 1,
    "nb_feeds": 1,
    "publisher": "<string>",
    "total_updates": 1,
    "type": 1,
    "website_url": "<string>"
  }
]

Query Parameters

network
enum<string>
required
Available options:
starknet-mainnet,
starknet-sepolia
data_type
enum<string>
required
Available options:
Spot,
Perp

Response

200 - application/json
Get the onchain publishers

The response is of type object[].