Skip to main content
GET
/
api
/
v1
/
auth
/
offers
/
count
/
type
/
{offer_type}
Count offers by type
curl --request GET \
  --url https://crypto.westminister.tech/api/v1/auth/offers/count/type/{offer_type} \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "offer_type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

offer_type
enum<string>
required
Available options:
SELL,
BUY

Response

200 - application/json

Offer count by type

count
integer
offer_type
string