Skip to main content
GET
/
loopscale
/
loop
/
markets
Loop Markets (Loop ID)
curl --request GET \
  --url https://api.junkyard.cloud/loopscale/loop/markets \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "loop_id": "shyusd-usdc",
      "name": "sHYUSD / USDC",
      "collateral_mint": "HnnGv3HrSqjRpgdFmx7vQGjntNEoex1SU4e9Lxcxuihz",
      "principal_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    },
    {
      "loop_id": "shyusd-hyusd",
      "name": "sHYUSD / hyUSD",
      "collateral_mint": "HnnGv3HrSqjRpgdFmx7vQGjntNEoex1SU4e9Lxcxuihz",
      "principal_mint": "5YMkXAYccHSGnHn9nob9xEvv6Pvka9DZWH7nTbotTu9E"
    },
    {
      "loop_id": "usdstar-2506-usdc",
      "name": "[Closed] PT-USD*-2506 / USDC",
      "collateral_mint": "F3GhNdzjguv1gkh5ZN8DGTydkHJ4gDjokQkeMg6u97mu",
      "principal_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    }
  ],
  "next_cursor": "usdstar-2506-usdc"
}

Note

  • Reference page: app.loopscale.com/loops
  • To retrive all the Loop markets, please exclude the name query parameter.
  • Use include_closed=true to include the closed markets from Loopscale.
  • Pagination with cursor:
    • Use limit (1-100, default 50) to control page size.
    • Use next_cursor from the response in the cursor param to fetch the next page.
  • Access is limited to authenticated users; reach out to our team for free API keys.

Authorizations

x-api-key
string
header
required

Query Parameters

name
string

Optional name to perform fuzzy search (case-insensitive)

include_closed
boolean
default:false

Whether to include closed markets

limit
integer
default:50

Number of results to return per page

Required range: 1 <= x <= 100
cursor
string

Cursor for pagination (loop_id to start after)

Response

200 - application/json

Successfully fetched loop markets

data
object[]
required
next_cursor
string | null
required

Cursor for next page (null if no more results)