---
title: "Get the on-chain ERC-20 allowance for a token, owner and spender"
method: GET
path: "/v1/token/allowance"
tags: ["Token"]
---

# Get the on-chain ERC-20 allowance for a token, owner and spender

`GET /v1/token/allowance`

Reads allowance(owner, spender) on the ERC-20 token contract. Can be used to determine whether an approval transaction is needed before a swap or token sale.

## Query parameters

- `token_address` string, required
- `owner` string, required
- `spender` string, required
- `chain` string, required

## Response `200`

Successful response.

- TokenAllowance — Current on-chain ERC-20 allowance for a token, owner and spender.
  - `allowance` string, required — The allowance as a uint256 decimal string in the token's smallest unit
  - `object` 'token_allowance', required — String representing the object's type. Objects of the same type share the same value.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.dev/coinlist/apis/frontline-api.md) · [All operations](https://skmtc.dev/coinlist/apis/frontline-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coinlist/frontline-api/revisions/fa411ea1bdfb/schema)
