81trust / 100

Batch Url Json

by Oblique Markets in Markets & finance

x402 APIPassing, checked 2 h ago

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.

POST https://api.oblique.markets/api/v1/paid/batch-url-json

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
43 ms typical, 43 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.oblique.markets/api/v1/paid/batch-url-json" \
  -H "content-type: application/json" \
  -d '{"idempotency_key":"example","jobs":[{"url":"HTTPS page to fetch"}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.oblique.markets%2Fapi%2Fv1%2Fpaid%2Fbatch-url-json
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"
    }
  ]
}

Example output

{
  "completed_at": "2026-08-14T00:00:00.000Z",
  "failed_jobs": 0,
  "fulfilled_jobs": 2,
  "idempotency_key": "batch-demo-1",
  "payment_tx_hash": "0xabc123...",
  "reconciled": true,
  "results": [
    {
      "data": {
        "@type": "Article",
        "headline": "Example"
      },
      "index": 0,
      "source": "json-ld",
      "status": "fulfilled",
      "url": "https://example.com"
    }
  ],
  "status": "fulfilled",
  "total_jobs": 2
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40271 ms$0.02
7 h agoPassed40243 ms$0.02