Agara

List your LP reward cycles

GET/trade/v1/lp-incentives/closed

Authorization

personal_access_token portfolio:read
AuthorizationBearer <token>

Personal access token issued from the web app's Settings → API tokens page. Send as Authorization: Bearer agt_….

In: header

Scope: portfolio:read

Query Parameters

limit?integer

Page size from 1 to 100. Defaults to 20.

Formatint32
Range0 <= value
page?integer

1-based page number. Defaults to 1.

Formatint32
Range0 <= value
category?string

Active root-category slug.

search?string

Case-insensitive literal substring matched against market question and event title.

sort_by?string

Row field used for explicit sorting. Defaults to date (the credited reward day).

Value in

  • "date"
  • "earned"
sort_order?string

Sort direction. Defaults to desc when sort_by is supplied.

Value in

  • "asc"
  • "desc"

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/trade/v1/lp-incentives/closed"
{  "eligible": true,  "limit": 0,  "markets": [    {      "category_label": "string",      "category_slug": "string",      "closed_at": "string",      "credited": true,      "earned_micro": "string",      "epoch_date": "string",      "epoch_score": 0.1,      "event_slug": "string",      "event_title": "string",      "market_id": "string",      "market_total_score": 0.1,      "pool_micro": "string",      "potential_payout_micro": "string",      "question": "string"    }  ],  "page": 0,  "total": 0}