{
  "x402Version": 2,
  "id": 1585,
  "slug": "1585",
  "resource": "https://agent402.tools/api/memory",
  "description": "Persistent key-value memory scoped to the paying wallet: the x402 payment is the authentication, the wallet owns the namespace. Write any JSON value (up to 64KB) under a key, with an optional TTL, or delete it; read it back on any later session with the matching read route. Use it when an agent needs state that survives the session or crosses runs without an account or API key.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:43114",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:1329",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42220",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "key": "research/task-42",
            "ttlSeconds": 86400,
            "value": {
              "findings": [
                "…"
              ],
              "status": "done"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "bytes": 42,
            "expiresAt": 1760086400,
            "key": "research/task-42",
            "owner": "0x…",
            "persistent": true,
            "updated": 1760000000000
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "delete": {
                    "description": "Set true to delete the key instead",
                    "type": "boolean"
                  },
                  "key": {
                    "description": "Key to write (max 256 chars)",
                    "type": "string"
                  },
                  "owner": {
                    "description": "Optional 0x namespace to write into (requires a readwrite grant)",
                    "type": "string"
                  },
                  "ttlSeconds": {
                    "description": "Optional: auto-expire the key after N seconds",
                    "type": "number"
                  },
                  "value": {
                    "description": "Any JSON value (max 64KB serialized)"
                  }
                },
                "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": {
                  "bytes": {
                    "type": "integer"
                  },
                  "expiresAt": {
                    "type": "integer"
                  },
                  "key": {
                    "type": "string"
                  },
                  "owner": {
                    "type": "string"
                  },
                  "persistent": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "integer"
                  }
                },
                "required": [
                  "key",
                  "bytes",
                  "updated",
                  "expiresAt",
                  "owner",
                  "persistent"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_b4aw4uzd"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code",
    "payment-identifier"
  ],
  "sourceHost": "agent402.tools",
  "lastUpdated": "2026-09-03T00:16:33.425Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-03T00:16:33.113Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent402.tools",
    "manifest_name": "agent402.tools",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}