Skip to main content
GET
/
api
/
x402
/
quick
/
base
/
{job-type}
curl -i \
  "https://wurkapi.fun/api/x402/quick/base/xlikes-100?url=https%3A%2F%2Fx.com%2Fexample%2Fstatus%2F123" \
  -H "Accept: application/json"
{
  "x402Version": 1,
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "maxAmountRequired": "2500000",
      "resource": "https://wurkapi.fun/api/x402/base/jobs/6e33ea0f/pay",
      "description": "",
      "mimeType": "",
      "payTo": "0xF00DAF15713e82fBb7bDC4b818444D93D655DE96",
      "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "maxTimeoutSeconds": 60,
      "extra": {
        "chainId": 8453,
        "decimals": 6,
        "eip712": {
          "name": "USD Coin",
          "version": "2"
        },
        "name": "USD Coin",
        "version": "2"
      }
    }
  ]
}

Overview

Quick Endpoints on Base allow you to create and pay for common jobs without an API key. Each job costs $2.50 USDC and is configured for 100 completions.
No API Key Required! Just make two HTTP requests - one for discovery, one with payment.

Available Endpoints

X/Twitter Reposts

GET https://wurkapi.fun/api/x402/quick/base/reposts-100?url={encoded_x_url}

X/Twitter Likes

GET https://wurkapi.fun/api/x402/quick/base/xlikes-100?url={encoded_x_url}

Instagram Likes

GET https://wurkapi.fun/api/x402/quick/base/insta-likes-100?url={encoded_instagram_url}

DexScreener Rockets

GET https://wurkapi.fun/api/x402/quick/base/dex-rocket-100?url={encoded_dexscreener_url}

Parameters

url
string
required
The target URL (must be URL-encoded):
  • For X/Twitter: Link to the post (e.g., https://x.com/user/status/123)
  • For Instagram: Link to the post
  • For DexScreener: Link to the token page
X-URL
string
Alternative to the url query parameter. You can pass the target URL as a header instead.
X-PAYMENT
string
required
The x402 payment header (required for the second request only)

Two-Step Flow

Step 1: Discovery Request (402)

Make a request without payment to get the payment requirements:
curl -i \
  "https://wurkapi.fun/api/x402/quick/base/xlikes-100?url=https%3A%2F%2Fx.com%2Fexample%2Fstatus%2F123" \
  -H "Accept: application/json"
{
  "x402Version": 1,
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "maxAmountRequired": "2500000",
      "resource": "https://wurkapi.fun/api/x402/base/jobs/6e33ea0f/pay",
      "description": "",
      "mimeType": "",
      "payTo": "0xF00DAF15713e82fBb7bDC4b818444D93D655DE96",
      "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "maxTimeoutSeconds": 60,
      "extra": {
        "chainId": 8453,
        "decimals": 6,
        "eip712": {
          "name": "USD Coin",
          "version": "2"
        },
        "name": "USD Coin",
        "version": "2"
      }
    }
  ]
}

Step 2: Payment Request (200)

Retry the same URL with the X-PAYMENT header:
curl -i \
  "https://wurkapi.fun/api/x402/quick/base/xlikes-100?url=https%3A%2F%2Fx.com%2Fexample%2Fstatus%2F123" \
  -H "Accept: application/json" \
  -H "X-PAYMENT: <x402_payment_header>"
{
  "ok": true,
  "paid": true,
  "jobId": "6e33ea0f"
}

Job Details

Each quick job is automatically configured with:
Price
string
Fixed at $2.50 USDC
Completions
number
Always 100 completions
Worker Rank
number
Minimum rank 1 (all workers eligible)
Cooldown
number
15 minutes between completions

Error Handling

Common Responses

  • 402: Payment required (normal first response)
  • 200: Success (job created and paid)
  • 409: Duplicate job exists (returns existing job ID)
  • 400: Invalid URL or parameters
  • 500: Server error (retry with same X-PAYMENT if during payment)

Retry Logic

If you receive a temporary error during payment (Step 2), you can safely retry with the same X-PAYMENT header.

Examples by Job Type

# 100 reposts for a tweet
curl -i \
  "https://wurkapi.fun/api/x402/quick/base/reposts-100?url=https%3A%2F%2Fx.com%2Felonmusk%2Fstatus%2F1234567890" \
  -H "Accept: application/json"

Network Details

  • Network: Base Mainnet
  • Chain ID: 8453
  • USDC Contract: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
  • Payment Receiver: 0xF00DAF15713e82fBb7bDC4b818444D93D655DE96
  • Payment Method: EIP-3009 Authorization (transferWithAuthorization)

Technical Notes

The Base implementation uses EIP-3009 for USDC transfers, which means:
  1. No gas fees for the payer
  2. Authorization is signed off-chain
  3. The facilitator executes the on-chain transfer
  4. EIP-712 typed data signing is required
The x402-axios interceptor handles all of this complexity automatically.