Skip to main content
GET
/
news-feed
/
{category}
Article-centric news feed for a category - latest articles with linked markets and live prices
curl --request GET \
  --url https://api.agg.market/news-feed/{category} \
  --header 'x-app-id: <api-key>'
{
  "data": [
    {
      "article": {
        "id": "<string>",
        "title": "<string>",
        "url": "<string>",
        "snippet": "<string>",
        "source": "<string>",
        "imageUrl": "<string>",
        "publishedAt": "<string>"
      },
      "markets": [
        {
          "venueMarketId": "<string>",
          "question": "<string>",
          "venue": "<string>",
          "yesPrice": 123,
          "eventTitle": "<string>",
          "eventId": "<string>",
          "summary": "<string>",
          "relevanceScore": 123
        }
      ],
      "category": "<string>",
      "id": "<string>",
      "seq": 123,
      "timestamp": "<string>"
    }
  ],
  "nextCursor": "<string>",
  "hasMore": true
}

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Path Parameters

category
string
required

Query Parameters

cursor
string
Required string length: 1 - 32
Pattern: ^[0-9]+$
since
string
Required string length: 1 - 64
before
string
Required string length: 1 - 64
limit
integer
Required range: 1 <= x <= 50

Response

200

data
object[]
required
nextCursor
string | null
required
hasMore
boolean
required