Cloud Counter API

GET

Track and adjust persistent totals without running a database.

Cloud Counter stores and updates persistent numeric counters by ID without needing a database. It tracks increments, decrements, and custom values while returning timestamps and number properties like parity and prime status.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/counter?id=test_counter
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "created": "2024-04-26T22:09:46.000Z",
    "id": "test_counter",
    "lastAction": "get",
    "lastRead": "2025-12-16T22:21:45.000Z",
    "lastUpdated": "2024-04-26T22:09:46.000Z",
    "numberOfDigits": 1,
    "ordinal": "zeroth",
    "value": 0,
    "words": "zero",
    "isEven": true,
    "isNegative": false,
    "isZero": true,
    "isPrime": false
  }
}

About the Cloud Counter API

Counter works by incrementing, decrementing, and resetting a cloud counter. It uses advanced algorithms to ensure the counter is updated accurately and returns the current value of the counter.

What people use it for

Article View Counts
Increment a page tally each time a reader loads a blog post, returning the fresh total without querying a local database.
Feature Usage Quotas
To enforce monthly limits, SaaS backends increase a user action counter and check whether the total crosses allowed thresholds.
Live Score Tracking
Gaming servers adjust player points up or down during matches while fetching parity and formatted word representations.
Inventory Stock Adjustments
When shoppers complete checkout, decrement item tallies and inspect the remaining balance without maintaining dedicated database tables.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Cloud Counter

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Cloud Counter API.

Read the docs
What operations can I perform on a counter?
You can increment, decrement, set an exact value, delete a counter, and fetch its current total. You can also retrieve a list of all your active counters to review their values and creation dates.
Does the counter support negative numbers and zero?
Yes. Counters handle positive numbers, zero, and negative values. When you inspect a counter, the response confirms whether the current value is negative, zero, even, or prime, alongside its digit count.
Can I adjust a counter by custom step amounts on the Free plan?
Supplying a custom value parameter requires a paid plan. The Free plan supports default increments and decrements, while Starter and higher let you specify custom adjustment amounts or assign explicit target values.
What would 50,000 counter updates a month cost me?
Fifty thousand counter updates consume 100,000 credits, taking up half of the Starter plan's 200,000 monthly credits. That works out to about $0.0003 per call, or $0.30 per 1,000 calls. The Free plan includes 100 calls per month for testing.
What metadata does reading a counter return?
Fetching a counter returns its current count, creation timestamp, last read timestamp, last updated timestamp, and last action performed. The Cloud Counter response also provides formatted text words, ordinal text, digit count, and parity flags.

Ready to build with Cloud Counter? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs