Skip to main content
GET
https://api.trackyard.com
/
api
/
external
/
v1
/
me
GET /me
curl --request GET \
  --url https://api.trackyard.com/api/external/v1/me
{
  "tier": "<string>",
  "credits_remaining": 123,
  "monthly_allowance": 123,
  "rate_limit": {
    "requests_per_minute": 123,
    "requests_per_day": 123
  },
  "created_at": "<string>",
  "last_used_at": "<string>"
}
Returns metadata about your API key, including tier, credit balance, monthly allowance, and rate limits. Cost: Free (does not consume credits)

Authentication

Authorization: Bearer your_api_key_here

Example Request

curl https://api.trackyard.com/api/external/v1/me \
  -H "Authorization: Bearer $TRACKYARD_API_KEY"

Response

tier
string
required
Your account tier.Options: "free", "starter", "pro"
credits_remaining
number
required
Current credit balance.
monthly_allowance
number
required
Total credits allocated per month for your tier.
rate_limit
object
required
Rate limit configuration for your tier.
created_at
string
ISO 8601 timestamp when the API key was created.
last_used_at
string
ISO 8601 timestamp of the most recent API call.

Example Response

{
  "tier": "free",
  "credits_remaining": 487,
  "monthly_allowance": 500,
  "rate_limit": {
    "requests_per_minute": 10,
    "requests_per_day": 1000
  },
  "created_at": "2026-01-15T10:30:00Z",
  "last_used_at": "2026-02-20T14:22:15Z"
}

Use Cases

Check your remaining credits before running batch operations.
response = requests.get(
    "https://api.trackyard.com/api/external/v1/me",
    headers={"Authorization": f"Bearer {API_KEY}"}
)
credits = response.json()["credits_remaining"]

if credits < 100:
    print("Low on credits! Consider upgrading.")
Show users their tier and credit balance in your application’s settings page.
Test that an API key is active and not revoked.
const response = await fetch("https://api.trackyard.com/api/external/v1/me", {
  headers: { Authorization: `Bearer ${API_KEY}` }
});

if (response.ok) {
  console.log("API key is valid");
} else {
  console.error("Invalid or expired API key");
}

Error Responses

401 Unauthorized
Invalid or missing API key.
{
  "error": "Invalid API key",
  "code": "unauthorized"
}

Next Steps