Skip to content

Documentation

Key and plan

GET/v1/meAccount

Describes the calling key and its plan's limits: links, analytics range, time-of-day breakdowns, exports, rate limit and keys. Useful for verifying a key before shipping it in a deployment. Free to call.

Example request

Terminal
curl "https://snip.link/v1/me" \
  -H "Authorization: Bearer $SNIP_KEY"

Example response

Response
{
  "key": {
    "id": "b0a1c2d3-1111-4222-8333-444455556666",
    "name": "production",
    "prefix": "snip_live_4Qm7",
    "rps": 10,
    "created_at": "2026-08-30T18:04:11.000Z",
    "last_used_at": "2026-09-08T09:12:40.000Z"
  },
  "plan": {
    "id": "pro",
    "name": "Pro",
    "monthly_credits": 10000,
    "max_links": 5000,
    "library_items": 100,
    "links_per_day": 2000,
    "stats_days": 365,
    "hourly_stats": true,
    "exports": true,
    "custom_domains": 5,
    "rps": 10,
    "max_keys": 10,
    "file_max_bytes": 5000000000,
    "storage_bytes": 100000000000,
    "uploads_per_day": 5000,
    "copies_per_day": 1000
  },
  "tools": [
    {
      "id": "qr_code",
      "pricing": "1 credit per code",
      "max_input": 3000,
      "unit": "characters"
    }
  ]
}

Response fields

FieldTypeDescription
keyobject
key.idstring
key.namestring
key.prefixstringFirst characters of the key, for identification.
key.rpsinteger
key.created_atstring
key.last_used_atstring, null
planobject
plan.idstring
plan.namestring
plan.monthly_creditsinteger
plan.library_itemsintegerSaved Library items across all kinds.
plan.max_linksinteger
plan.links_per_dayinteger
plan.stats_daysintegerThe longest analytics range, in days.
plan.hourly_statsbooleanWhether hours is present on the analytics routes.
plan.exportsbooleanWhether the click export routes are available.
plan.custom_domainsintegerOwn domains the plan holds (0: none, the domain routes answer 403 on add).
plan.rpsinteger
plan.max_keysinteger
plan.file_max_bytesintegerLargest uploaded file, in bytes. Larger than one request uses multipart upload.
plan.storage_bytesintegerTotal file storage allowance, in bytes.
plan.uploads_per_dayintegerFiles shared per UTC day.
plan.copies_per_dayintegerNew saved copies and conversions per UTC day.
toolsobject[]Every metered tool with its price and this plan's input limit.

Errors

StatusMeaning
401The API key is missing, malformed or revoked.
429Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason).

Back to getting started