Skip to main content
GET
Search Markets

Authorizations

x-api-key
string
header
required

API key for authentication. Contact Swaps.xyz to obtain an API key.

Query Parameters

q
string

Search query string. Use '*' to return all results.

tagIds
integer[]

Array of tag IDs to filter by (can be repeated)

page
integer
default:1

Page number for pagination

Required range: x >= 1
limit
integer
default:10

Limit results per type

Required range: 1 <= x <= 100
activeOnly
boolean
default:false

Only return markets currently accepting orders

Response

Successful search response

events
object[] | null
required

Array of events with associated markets and tags

pagination
object
required
tags
object[] | null

Optional array of tags (top-level)

profiles
object[] | null

Optional array of user profiles (top-level)