---
title: "The usage ledger, newest first: one row a call"
method: GET
path: "/usage"
tags: ["Account"]
---

# The usage ledger, newest first: one row a call

`GET /usage`

## Request

- Base URL: `https://api.scrapefield.com/v1`
- URL: `https://api.scrapefield.com/v1/usage`
- Auth: HTTP bearer

## Query parameters

- `limit` integer

## Response `200`

Rows on the platforms this key may call.

- object
  - `data` object[], required
    - `ts` string, date-time
    - `request_id` string
    - `endpoint` string
    - `credits` integer: 0 for a refunded call.
    - `refunded` boolean
    - `credits_refunded` integer
    - `cached` boolean
    - `status` integer
    - `duration_ms` integer

## Other responses

- `400`: Something went wrong. `error.code` is stable; `error.message` says what to do next.
- `401`: Something went wrong. `error.code` is stable; `error.message` says what to do next.
- `403`: Something went wrong. `error.code` is stable; `error.message` says what to do next.
- `500`: Something went wrong. `error.code` is stable; `error.message` says what to do next.

---

[API](https://skmtc.dev/scrapefield/apis/scrapefield-api.md) · [All operations](https://skmtc.dev/scrapefield/apis/scrapefield-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrapefield/apis/scrapefield-api/revisions/cc5961ac63cf?raw)
