Account Info

Returns plan and usage information for the authenticated API key.

GET /v1/me

Request

curl "https://api.c0r.ai/v1/me" \
  -H "X-API-Key: fdb_your_key"

Python

import requests

response = requests.get(
    "https://api.c0r.ai/v1/me",
    headers={"X-API-Key": "fdb_your_key"}
)
print(response.json())

JavaScript

const response = await fetch(
  "https://api.c0r.ai/v1/me",
  { headers: { "X-API-Key": "fdb_your_key" } }
);
const data = await response.json();
console.log(data);

Response

{
  "plan": "developer",
  "requests_today": 47,
  "requests_limit": 1000,
  "key_prefix": "fdb_JpoKI",
  "is_active": true
}

Response Fields

FieldTypeDescription
planstringYour subscription plan: developer, starter, growth, business
requests_todayintegerRequests made since midnight UTC
requests_limitintegerDaily quota for your plan (-1 = unlimited)
key_prefixstringFirst 10 characters of your API key (safe to display)
is_activebooleanWhether this key is currently active

Use Cases

  • Monitor your daily usage programmatically
  • Build a usage dashboard in your application
  • Check remaining quota before a batch operation