Account
GET /v1/account/request-history

Request History API

See recent API requests made with your Captapi key — path, status, and credits used.

0 credits per request
TL;DR
See recent API requests made with your Captapi key — path, status, and credits used. The Request History API (Account) is a single authenticated GET request to /v1/account/request-history that responds with clean JSON and costs 0 credits. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the Request History API?

List recent requests for your Captapi account as structured JSON: endpoint path, status, credits charged, and timestamps. Free — does not consume credits.

What you get

  • Live data for your Captapi API key
  • No credit charge for account endpoints
  • Clean JSON ready for dashboards and alerts
  • Useful for monitoring usage and spend

Try it

Open in Playground

Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).

Parameters

Sign in to run live
curl "https://api.captapi.com/v1/account/request-history?limit=20" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "data": {
    "totalReturned": 5,
    "requests": [
      {
        "endpoint": "/v1/instagram/basic-profile",
        "platform": "instagram",
        "resource_url": "instagram_user:adencylnozturk",
        "credits_used": 0,
        "cache_hit": true,
        "status_code": 200,
        "response_time_ms": 154,
        "error_message": null,
        "created_at": "2026-07-18T11:31:44.31599+00:00"
      },
      {
        "endpoint": "/v1/instagram/basic-profile",
        "platform": "instagram",
        "resource_url": "instagram_user:adencylnozturk",
        "credits_used": 1,
        "cache_hit": false,
        "status_code": 200,
        "response_time_ms": 4980,
        "error_message": null,
        "created_at": "2026-07-18T11:31:21.584147+00:00"
      },
      {
        "endpoint": "/v1/instagram/basic-profile",
        "platform": "instagram",
        "resource_url": "instagram_user:adencylnozturk",
        "credits_used": 1,
        "cache_hit": false,
        "status_code": 200,
        "response_time_ms": 4168,
        "error_message": null,
        "created_at": "2026-07-18T11:31:20.30634+00:00"
      },
      {
        "endpoint": "/v1/pinterest/board",
        "platform": "pinterest",
        "resource_url": "https://www.pinterest.com/potterybarn/indigo-blues-lookbook/",
        "credits_used": 3,
        "cache_hit": false,
        "status_code": 200,
        "response_time_ms": 17558,
        "error_message": null,
        "created_at": "2026-07-18T11:29:07.873651+00:00"
      },
      {
        "endpoint": "/v1/facebook/marketplace-item",
        "platform": "facebook",
        "resource_url": "https://www.facebook.com/marketplace/item/2228870800986975/",
        "credits_used": 1,
        "cache_hit": false,
        "status_code": 200,
        "response_time_ms": 10482,
        "error_message": null,
        "created_at": "2026-07-18T11:28:59.677517+00:00"
      }
    ]
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Top-level fields

  • totalReturnedNumber of items returned in this response.

Requests

Each item in requests contains:

  • endpointEndpoint. Example: "/v1/instagram/basic-profile".
  • platformPlatform identifier (e.g. youtube, instagram).
  • resource_urlResource url. Example: "instagram_user:adencylnozturk".
  • credits_usedCredits used. Example: 0.
  • cache_hitCache hit. Example: true.
  • status_codeStatus code. Example: 200.
  • response_time_msResponse time ms. Example: 154.
  • error_messageError message.
  • created_atCreated at. Example: "2026-07-18T11:31:44.31599+00:00".

Parameters

NameTypeRequiredDescription
limitintegerNoMax items to return (default 50, max 500). Billed per result.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 0 credits. Pass cache=true for a free 24h cache hit; default is always fresh.

Using an AI agent? This endpoint is the MCP tool account_request_history via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/account/request-history and parse the JSON response.

Use cases

Content Pipelines

Ingest a channel's catalog in bulk.

Monitoring

Detect new uploads automatically.

Archiving

Snapshot a creator's full library.

Analytics

Aggregate performance across many videos.

Frequently asked questions

What does the Request History API do?+

The Request History API returns request history for your Captapi API key via one GET request to /v1/account/request-history. It returns clean JSON and does not charge credits.

How many credits does the Request History API cost?+

Account endpoints are free — they do not consume credits.

Do I need a Account API key or OAuth?+

You only need your Captapi API key (Authorization: Bearer). No third-party OAuth is required.

Is the Request History API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.

More Account APIs

Ready to use the Request History API?

Sign up, grab your key, and make your first call in 60 seconds.