Developer Hub

Build on D0xedDev

Start a private build in Studio, or try a read-only API call. Neither requires an account, wallet or payment.

API quick start

01 / Free aggregate

Read task counts

This returns counts by status and a total, not individual task records.

curl --fail-with-body https://www.d0xeddev.com/api/tasks/count

02 / No-payment inspection

Read an x402 challenge

An unpaid task-list request returns HTTP 402. The task and hub-data challenges were verified on Base Sepolia (eip155:84532). Check the live payment-required header before integrating: the challenge tells you the network and payment terms for that request.

Run this in Node.js 22+. It does not sign or submit a payment.

const response = await fetch('https://www.d0xeddev.com/api/tasks');
if (response.status !== 402) throw new Error(`Expected 402, got ${response.status}`);
const header = response.headers.get('payment-required');
if (!header) throw new Error('Missing payment challenge');
const challenge = JSON.parse(Buffer.from(header, 'base64').toString('utf8'));
console.log(challenge.accepts.map(({ network, amount }) => ({ network, amount })));