{"slug":"agent402-tools-api-memory-incr-994aba","title":"Atomically increment (or decrement) a numeric key and return the new value","host":"agent402.tools","method":"POST","resource":"https://agent402.tools/api/memory/incr","category":"other","description":"Atomically increment (or decrement) a numeric key and return the new value - a coordination primitive for counters, locks, and rate budgets shared across agents. Creates the key at 0 if absent.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1515,"reported_calls_30d":6,"reported_payers_30d":1,"networks":["eip155:10","eip155:1329","eip155:137","eip155:143","eip155:42161","eip155:42220","eip155:43114","eip155:4663","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"by":1,"key":"jobs/processed"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"by":{"description":"Amount to add (default 1; negative to decrement)","type":"number"},"key":{"description":"Counter key","type":"string"},"owner":{"description":"Optional 0x namespace (requires a readwrite grant)","type":"string"}},"required":["key"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"key":{"type":"string"},"owner":{"type":"string"},"value":{"type":"integer"}},"required":["key","value","owner"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":1515,"error":null}],"description_full":"Atomically increment (or decrement) a numeric key and return the new value - a coordination primitive for counters, locks, and rate budgets shared across agents. Creates the key at 0 if absent.","last_updated":"2026-09-21T11:03:06.645Z","schemes":["exact"]}