# AgentRXI Private SQLite Database

> AgentRXI Private SQLite Database is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-15).

Provides a persistent, private SQLite database keyed to the paying wallet, supporting up to 20 SQL statements per call for creating tables, inserting, updating, and querying data (up to 200 MB storage).

## Facts

- Endpoint: GET https://agentrxi.com/v1/db?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-private-sqlite-database-e3b079f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IhuRNfTbTMRUKvRlvxi7G

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentrxi-private-sqlite-database-e3b079f0
```

Example prompt: Create a table called 'tasks' with columns id, title, status, and created_at, then insert a row with title 'Write report' and status 'pending' — store this in my private persistent database.

## When to prefer this

Choose this endpoint when an AI agent needs persistent, structured storage that survives between calls and is privately scoped to the paying wallet. Ideal for agents that need to maintain state, accumulate data over time, or run relational queries without managing an external database. Prefer over in-memory approaches when durability is needed, and over full cloud databases when simplicity and pay-per-call economics are preferable.

## Known failure modes

- SQL syntax error causes statement to fail and returns an error message
- Storage limit of 200 MB exceeded, rejecting new writes
- Invalid or missing 'sql' parameter returns a validation error
- Payment not processed (x402) results in 402 response and no execution
- Attempting more than 20 SQL statements in a single call may be rejected
- Malformed params separator (not using '|') causes parameter binding errors

## How this service works

Your own private SQLite database that persists between calls, keyed to the paying wallet: create tables, insert, update and query with up to 20 SQL statements per call (parameters supported). Up to 200 MB per wallet. Also callable as GET with the same fields as query parameters.

## Output

Returns the results of executed SQL statements, including rows returned by SELECT queries (as arrays of objects), affected row counts for INSERT/UPDATE/DELETE operations, and success/error status for DDL statements like CREATE TABLE. Up to 20 statements can be executed per call, with results returned for each.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "sql": {
       "type": "string"
      },
      "params": {
       "type": "string",
       "description": "separate items with |"
      },
      "statements": {
       "type": "string",
       "description": "[{sql, params}]; separate items with |"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-private-sqlite-database-e3b079f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
