Use when an agent must compute, parse a CSV or draw a chart with real code
Use when an agent must compute, parse a CSV or draw a chart with real code. Input: language (python|node), code (64 KB), stdin, files (5 /v1/files ids), background. Output: exitCode, stdout, stderr, /workspace/out files (5, 2 MB, base64). 30 s in the response ($0.005), or background=true: 10 min, id + secret now, result at GET /v1/agent/run/{id} ($0.008). HTTP(S) allowed. Python: pandas, numpy, matplotlib; Node: lodash. Example: POST {"code":"print(2+2)"}
Answeringour last check, 2026-11-26
6 of 6checks answered this week
28 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://1gateway.dev/v1/agent/run
| Category | Code and developer |
|---|---|
| Provider host | 1gateway.dev |
| Networks | eip155:137, eip155:143, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.005 | 56 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 28 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 28 ms |
| 2026-11-23 | valid payment request | 402 | $0.005 | 14 ms |
| 2026-11-22 | valid payment request | 402 | $0.005 | 29 ms |
| 2026-11-21 | valid payment request | 402 | $0.005 | 19 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"code": "print(sum(range(10)))",
"language": "python"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"background": {
"description": "true: run up to 10 minutes in the background ($0.008); the answer is an id and a one-time secret, a\u2026",
"enum": [
"true",
"false"
],
"type": "string"
},
"code": {
"description": "Program source, max 64 KB; runs as /workspace/main.py or main.js; write result files to /workspace/\u2026",
"maxLength": 65536,
"type": "string"
},
"credit_budget": {
"description": "With Authorization: Bearer <credit session>: USD cap (0.001-20, default 0.10) for 1gateway API call\u2026",
"maxLength": 12,
"type": "string"
},
"files": {
"description": "Up to 5 ids of your own /v1/files uploads (same paying wallet), copied to /workspace/in/<filename>;\u2026",
"maxLength": 400,
"type": "string"
},
"language": {
"description": "python (3.14, default) or node (24)",
"enum": [
"python",
"node"
],
"type": "string"
},
"notify_email": {
"description": "Background only (+$0.002): email when the run ends, to an address that already allowed mail from yo\u2026",
"maxLength": 254,
"type": "string"
},
"stdin": {
"description": "Text fed to the program's standard input, max 256 KB",
"maxLength": 262144,
"type": "string"
},
"webhook": {
"description": "Background only: signed POST (x-1gateway-signature, key = hex(SHA-256(secret))) when the run ends",
"maxLength": 2048,
"pattern": "^https://",
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"durationMs": {
"type": "integer"
},
"exitCode": {
"type": "integer"
},
"files": {
"items": {},
"type": "array"
},
"filesOmitted": {
"items": {},
"type": "array"
},
"language": {
"type": "string"
},
"stderr": {
"type": "string"
},
"stderrTruncated": {
"type": "boolean"
},
"stdout": {
"type": "string"
},
"stdoutTruncated": {
"type": "boolean"
},
"timedOut": {
"type": "boolean"
}
},
"required": [
"language",
"exitCode",
"timedOut",
"durationMs",
"stdout",
"stderr",
"stdoutTruncated",
"stderrTruncated",
"files",
"filesOmitted"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}