Skip to content
onelayer.
All tools

Tool detail

Oblique Markets

Runs a Python 3.12 script (stdlib plus numpy/pandas/requests, no network) in a sandbox and returns exit code, stdout/stderr, duration and up to 3 output files.

Categories: Code tools

Use when

  • execute a short data-processing Python script
  • run pandas or numpy code and get stdout plus output files
  • check a script's output without a local Python environment

Not for

  • not for scripts that need network access - sandbox has none
  • not for long jobs - capped around 30 seconds

Inputs

POST JSON body: { code: string (required), args[], stdin, files[{name,content_base64}], timeout_s (optional) }

Admitted input schema

{
  "type": "object",
  "properties": {
    "args": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "maxItems": 100
    },
    "code": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "content_base64": {
            "type": "string",
            "minLength": 0,
            "maxLength": 4096
          },
          "name": {
            "type": "string",
            "minLength": 0,
            "maxLength": 4096
          }
        },
        "required": [
          "name",
          "content_base64"
        ],
        "additionalProperties": false
      },
      "minItems": 0,
      "maxItems": 100
    },
    "stdin": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "timeout_s": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "code"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://api.oblique.markets/api/v1/paid/run-python

Payment

Protocol
x402
Listed price
0.05 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.oblique.markets/api/v1/paid/run-python
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z