browse.tg Developer API

Build custom apps, bots, or research tools using real-time Telegram gift catalog data.

Getting Started

All API requests should be sent to the base URL below. The developer API provides public JSON endpoints that require authentication via a header.

Base URL:https://browse.tg

Authentication

Authenticate your requests by including your active API key in the X-API-Key custom HTTP header.

Rate Limiting: Each API Key is rate-limited to 100 requests per minute by default. Excess requests will receive an HTTP 429 Too Many Requests response.

API Endpoints

GET/api/v1/gifts/{id}

Fetch detailed information for a single Telegram gift by its unique ID (e.g. DurovsCap-1).

Parameters
ParameterTypeRequiredDescription
idstringYesThe unique identifier of the gift (e.g., 'DurovsCap-1')
Request Sample
curl -X GET "https://browse.tg/api/v1/gifts/DurovsCap-1" \
  -H "X-API-Key: your_api_key_here"
GET/api/v1/gifts/search

Search and filter the entire Telegram gift catalog. Supports pagination, custom sorting, and multi-value trait filters.

Parameters
ParameterTypeRequiredDescription
qstringNoFree-text query or numeric serial number
collectionstringNoComma-separated collection name filters
modelstringNoComma-separated model trait filters
symbolstringNoComma-separated symbol trait filters
backdropstringNoComma-separated backdrop trait filters
ownerstringNoExact Telegram username of current owner
upgrade_statestringNoFilter by 'on-chain' or 'off-chain'
sortstringNoSort order: 'newest', 'oldest', 'rarest', 'serial', 'price_asc'
pageintegerNoPage number (defaults to 1)
limitintegerNoResults per page (1 to 100, defaults to 24)
Request Sample
curl -X GET "https://browse.tg/api/v1/gifts/search?q=1&collection=DurovsCap" \
  -H "X-API-Key: your_api_key_here"
GET/api/v1/collections

Retrieve a summary list of all Telegram gift collections indexed by browse.tg.

Request Sample
curl -X GET "https://browse.tg/api/v1/collections" \
  -H "X-API-Key: your_api_key_here"
GET/api/v1/collections/{name}

Fetch comprehensive metadata for a specific collection, along with filtered and paginated gifts.

Parameters
ParameterTypeRequiredDescription
namestringYesThe collection name identifier (e.g., 'DurovsCap')
sortstringNoSort order: 'newest', 'oldest', 'rarest', 'serial', 'price_asc'
modelsstringNoComma-separated model trait filters
limitintegerNoResults count limit
offsetintegerNoPagination offset
Request Sample
curl -X GET "https://browse.tg/api/v1/collections/DurovsCap?limit=5" \
  -H "X-API-Key: your_api_key_here"
GET/api/v1/profile/{username}

Fetch gift holdings and portfolio stats for a given Telegram username.

Parameters
ParameterTypeRequiredDescription
usernamestringYesTelegram user handle (e.g. 'durov')
Request Sample
curl -X GET "https://browse.tg/api/v1/profile/durov" \
  -H "X-API-Key: your_api_key_here"
GET/api/v1/trending

Fetch trending gift listings based on search counts and views over the last 24h or 7d.

Parameters
ParameterTypeRequiredDescription
periodstringNoTimeframe to rank trending items ('24h' or '7d', defaults to '24h')
Request Sample
curl -X GET "https://browse.tg/api/v1/trending?period=24h" \
  -H "X-API-Key: your_api_key_here"

Request API Access Key

Submit details below to generate an API key. Recreated keys are initially inactive until approved by the administrator.