# CortexCloud HTTP Request Automation

> CortexCloud HTTP Request Automation is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Executes arbitrary HTTP requests (GET, POST, PUT, DELETE, etc.) on behalf of an AI agent, returning the response, settled per-call in USDC via x402.

## Facts

- Endpoint: GET https://api.cortexcloud.org/v1/automation/http-request
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortexcloud-http-request-automation-6a409085
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H3bWqzDiU1AvLAkSMXyIw

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 cortexcloud-http-request-automation-6a409085
```

Example prompt: Can you make a POST request to https://api.example.com/data with the JSON body {"name": "Alice", "age": 30} and a Content-Type header of application/json, and give me back whatever the server returns?

## When to prefer this

Choose this endpoint when an AI agent needs to make arbitrary outbound HTTP calls to any URL without managing API keys or signing up for additional services. It is ideal for agent-to-agent communication, triggering webhooks, fetching live data from REST APIs, or any workflow step that requires a flexible, pay-per-call HTTP proxy settled in USDC on Base. Prefer this over a dedicated integration endpoint when the target API changes frequently or when the agent needs full control over method, headers, and body.

## Known failure modes

- Target URL unreachable or returns a network error — response may contain a timeout or connection error
- Target server returns a 4xx or 5xx status — response body and status code are passed through
- Invalid or malformed URL input — request may fail immediately
- Timeout exceeded — if the target server is slow and the timeout parameter is hit
- Payment failure via x402 — call not executed if USDC settlement fails

## How this service works

One pay-per-call API for AI agents: optimization, AI, research, on-chain data, and automation — all settled in USDC on Base via x402. Discover via MCP and Bazaar, estimate free, pay per call. No API keys, no signup.

## Output

Returns a JSON object containing the HTTP response from the target URL, including the status code, response headers, and response body from the remote server.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "body": {},
  "method": {
   "enum": [
    "GET",
    "POST",
    "PUT",
    "DELETE",
    "PATCH",
    "HEAD",
    "OPTIONS"
   ],
   "type": "string"
  },
  "headers": {
   "type": "object"
  },
  "timeout": {
   "type": "number"
  },
  "idempotency_key": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortexcloud-http-request-automation-6a409085/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
