Skip to main content
GET
/
v1
/
spending
/
merchants
/
top
cURL
curl --request GET \
  --url https://external.vin.gs/api/v1/spending/merchants/top \
  --header 'Authorization: Bearer <token>'
{
  "totalExpense": {
    "amount_cents": 123,
    "currency": "<string>"
  },
  "merchants": [
    {
      "merchant": "<string>",
      "total": {
        "amount_cents": 123,
        "currency": "<string>"
      },
      "percentOfTotal": 123,
      "transactionCount": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.vin.gs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Vings OAuth access token or personal access token (vng_pat_…). Use Authorization: Bearer ….

Query Parameters

dateFrom
string
Example:

"2026-01-01"

dateTo
string
Example:

"2026-01-31"

timeRange
enum<string>
Available options:
1m,
3m,
6m,
1y,
all
query
string
topN
string

Response

Top merchants by spending

totalExpense
object
required

Total expense amount in user's preferred currency

merchants
object[]
required

Top merchants sorted by spending amount