{
 "x402Version": 1,
 "name": "Util: the smallest paid calls",
 "description": "Seven one-line utilities at 0.001 USDC each, the cheapest settled price on the rail: ping, time (UTC, unix, ISO), uuid (v4), random (integers or floats in a range, cryptographic), status (this host and the store), hash (sha-256, sha-1, md5 of a text), echo (your query back with the headers we saw). Built for x402 clients, censuses and agents that need a cheap proof a host settles before buying real data. Pay per call over x402 (USDC on Base) through the Agent Exchange store gateway; no account or key. Free sample: https://util.agentexchange.work/sample.json",
 "payment": {
  "rail": "x402",
  "gateway": "https://store.agentexchange.work/gw/util",
  "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c"
 },
 "free_resources": [
  "https://util.agentexchange.work/",
  "https://util.agentexchange.work/sample.json",
  "https://util.agentexchange.work/.well-known/x402"
 ],
 "count": 7,
 "resources": [
  {
   "resource": "https://util.agentexchange.work/ping",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.001,
   "mimeType": "application/json",
   "description": "Answers pong with the server time and your round-trip id; the cheapest settled call on the rail (0.001 USDC). Pay through https://store.agentexchange.work/gw/util/ping",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "1000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://util.agentexchange.work/ping",
     "description": "Answers pong with the server time and your round-trip id; the cheapest settled call on the rail (0.001 USDC). Pay through https://store.agentexchange.work/gw/util/ping",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {}
      }
     }
    }
   ],
   "tags": [
    "utility",
    "ping",
    "time",
    "uuid",
    "random",
    "hash",
    "test",
    "cheapest"
   ]
  },
  {
   "resource": "https://util.agentexchange.work/time",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.001,
   "mimeType": "application/json",
   "description": "The current time as UTC ISO 8601, unix seconds and milliseconds, the day of week and the ISO week. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/time",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "1000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://util.agentexchange.work/time",
     "description": "The current time as UTC ISO 8601, unix seconds and milliseconds, the day of week and the ISO week. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/time",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {}
      }
     }
    }
   ],
   "tags": [
    "utility",
    "ping",
    "time",
    "uuid",
    "random",
    "hash",
    "test",
    "cheapest"
   ]
  },
  {
   "resource": "https://util.agentexchange.work/uuid",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.001,
   "mimeType": "application/json",
   "description": "A fresh UUID v4 (or n of them, up to 100). Pay 0.001 USDC through https://store.agentexchange.work/gw/util/uuid?n=5",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "1000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://util.agentexchange.work/uuid",
     "description": "A fresh UUID v4 (or n of them, up to 100). Pay 0.001 USDC through https://store.agentexchange.work/gw/util/uuid?n=5",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {
        "n": {
         "type": "string",
         "required": false
        }
       }
      }
     }
    }
   ],
   "tags": [
    "utility",
    "ping",
    "time",
    "uuid",
    "random",
    "hash",
    "test",
    "cheapest"
   ]
  },
  {
   "resource": "https://util.agentexchange.work/random",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.001,
   "mimeType": "application/json",
   "description": "Cryptographically random integers between min and max (default 1 to 100), or floats with float=true; n up to 100. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/random?min=1&max=6&n=2",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "1000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://util.agentexchange.work/random",
     "description": "Cryptographically random integers between min and max (default 1 to 100), or floats with float=true; n up to 100. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/random?min=1&max=6&n=2",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {
        "min": {
         "type": "string",
         "required": false
        },
        "max": {
         "type": "string",
         "required": false
        },
        "n": {
         "type": "string",
         "required": false
        },
        "float": {
         "type": "string",
         "required": false
        }
       }
      }
     }
    }
   ],
   "tags": [
    "utility",
    "ping",
    "time",
    "uuid",
    "random",
    "hash",
    "test",
    "cheapest"
   ]
  },
  {
   "resource": "https://util.agentexchange.work/status",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.001,
   "mimeType": "application/json",
   "description": "Health of this host and of the store (reachable, status code, latency in ms) with the time. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/status",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "1000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://util.agentexchange.work/status",
     "description": "Health of this host and of the store (reachable, status code, latency in ms) with the time. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/status",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {}
      }
     }
    }
   ],
   "tags": [
    "utility",
    "ping",
    "time",
    "uuid",
    "random",
    "hash",
    "test",
    "cheapest"
   ]
  },
  {
   "resource": "https://util.agentexchange.work/hash",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.001,
   "mimeType": "application/json",
   "description": "sha-256 (default), sha-1, sha-384, sha-512 or md5 of a text as hex and base64, with its byte length. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/hash?text=hello&algo=sha-256",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "1000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://util.agentexchange.work/hash",
     "description": "sha-256 (default), sha-1, sha-384, sha-512 or md5 of a text as hex and base64, with its byte length. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/hash?text=hello&algo=sha-256",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {
        "text": {
         "type": "string",
         "required": true
        },
        "algo": {
         "type": "string",
         "required": false
        }
       }
      }
     }
    }
   ],
   "tags": [
    "utility",
    "ping",
    "time",
    "uuid",
    "random",
    "hash",
    "test",
    "cheapest"
   ]
  },
  {
   "resource": "https://util.agentexchange.work/echo",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.001,
   "mimeType": "application/json",
   "description": "Your query parameters and the request headers we saw (user-agent, accept, content-type), with the time; for testing a client's x402 flow. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/echo?hello=world",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "1000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://util.agentexchange.work/echo",
     "description": "Your query parameters and the request headers we saw (user-agent, accept, content-type), with the time; for testing a client's x402 flow. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/echo?hello=world",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {
        "*": {
         "type": "string",
         "required": false
        }
       }
      }
     }
    }
   ],
   "tags": [
    "utility",
    "ping",
    "time",
    "uuid",
    "random",
    "hash",
    "test",
    "cheapest"
   ]
  }
 ]
}