Skip to content
Fourohtwo

Use when an agent needs batch url json

api.oblique.markets/api/v1/paid/batch-url-json

Use when an agent needs batch url json. Returns Prepaid batch of up to 10 HTTPS URL-to-JSON extraction jobs with one idempotent reconciled completion receipt. $0.02.

BaseSolanaUnchecked
POSThttps://api.oblique.markets/api/v1/paid/batch-url-json

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.oblique.markets/api/v1/paid/batch-url-json", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"idempotency_key":"example","jobs":[{"url":"HTTPS page to fetch"}]}),
});
console.log(await res.json());

Example input

{
  "idempotency_key": "example",
  "jobs": [
    {
      "url": "HTTPS page to fetch"
    }
  ]
}

More from Oblique Markets