# Check a coin for OTC

> Any token mint: whether the locker takes it (problem is null when it does), its name and picture, the market price the program reads, and liquidity. Add ?wallet= for how much that wallet holds (held, raw units).


`GET https://payday.direct/api/otc/coin/{mint}`

Any token mint: whether the locker takes it (`problem` is null when it does), its name and picture, the market price the program reads, and liquidity. Add `?wallet=` for how much that wallet holds (`held`, raw units).

## Parameters

- `mint` (path, string, required): Any token mint
- `wallet` (query, string): Also say how much this wallet holds

## Responses

- 200: OK
- 400: Refused; nothing to sign
- 429: Over the limit. Retry-After says when to try again.

```json
{
  "ok": true,
  "coin": {
    "mint": "3unDHbPUsLqQtoHgvuCsRSArnuhVjhsn11vRht5Xpump",
    "name": "Example Coin",
    "symbol": "Example",
    "image": "https://payday.direct/img/example.png",
    "decimals": 6,
    "tokenProgram": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",
    "isPump": true,
    "problem": null,
    "venue": "curve",
    "quote": "sol",
    "pair": "sol",
    "marketPriced": true,
    "price": 0.0000312,
    "priceUsd": 0.0044,
    "mcapSol": 31200,
    "mcapUsd": 4368000,
    "liqUsd": 7240,
    "reliable": true,
    "supplyWhole": 1000000000
  },
  "held": "5000000000000",
  "blocked": false,
  "problemText": null
}
```

## Example

```bash
curl "https://payday.direct/api/otc/coin/MINT_ADDRESS"
```