---
title: "GET /api"
method: GET
path: "/api"
---

# GET /api

`GET /api`

## Request

- Base URL: `https://call4.me`
- URL: `https://call4.me/api`
- Auth: HTTP bearer

Buy call credits in USDC on Base over x402 for the account named by the bearer token. Without a payment: 402 with the price of `amount` dollars of credits.

## Query parameters

- `amount` number

## Response `200`

Credited

- object
  - `credited` string, required
  - `credited_cents` number, required
  - `balance` string, required
  - `balance_cents` number, required
  - `transaction` string, required
  - `payer` string, required

## Other responses

- `400`: Request failed
- `401`: Request failed
- `402`: Payment required: the x402 v2 requirements, also in the PAYMENT-REQUIRED header
- `503`: Request failed

---

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