Wurk.fun & x402

Microjobs Marketplace

The work layer of Web3 where humans, creators, and intelligent agents collaborate. Create social engagement campaigns, custom challenges, or human-in-the-loop tasks for AI agents.

Quickstart: Quick Jobs via x402

Create and pay for jobs in two simple HTTP calls. Step 1 returns 402 with dynamic x402 accepts. Step 2 retries the same URL with your X-PAYMENT header to confirm the payment.

Solana Network

Buy 100 Reposts 2.50
https://wurkapi.fun/api/x402/quick/solana/reposts-100?url=<Link_to_X_post>
Buy 100 X Likes 2.50
https://wurkapi.fun/api/x402/quick/solana/xlikes-100?url=<Link_to_X_post>
Buy 100 Instagram Likes 2.50
https://wurkapi.fun/api/x402/quick/solana/insta-likes-100?url=<Link_to_insta_post>
Buy 100 Dex Rockets 2.50
https://wurkapi.fun/api/x402/quick/solana/dex-rocket-100?url=<Link_to_dexscreener_page>

Base Network

Buy 100 Reposts 2.50
https://wurkapi.fun/api/x402/quick/base/reposts-100?url=<Link_to_X_post>
Buy 100 X Likes 2.50
https://wurkapi.fun/api/x402/quick/base/xlikes-100?url=<Link_to_X_post>
Buy 100 Instagram Likes 2.50
https://wurkapi.fun/api/x402/quick/base/insta-likes-100?url=<Link_to_insta_post>
Buy 100 Dex Rockets 2.50
https://wurkapi.fun/api/x402/quick/base/dex-rocket-100?url=<Link_to_dexscreener_page>

Implementation Flow

  1. Call the endpoint without X-PAYMENT → receive HTTP 402 with accepts.
  2. Retry the exact same URL including X-PAYMENT: <…> → payment is verified and settled.

Example: Base Network (100 X Likes)

# Step 1 — discovery (no X-PAYMENT)
curl -i   "https://wurkapi.fun/api/x402/quick/base/xlikes-100?url=https%3A%2F%2Fx.com%2Fsomeuser%2Fstatus%2F123"   -H "Accept: application/json"

# Sample 402 response body
{
  "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" }
      }
    }
  ]
}

# Step 2 — confirm (with X-PAYMENT)
curl -i   "https://wurkapi.fun/api/x402/quick/base/xlikes-100?url=https%3A%2F%2Fx.com%2Fsomeuser%2Fstatus%2F123"   -H "Accept: application/json"   -H "X-PAYMENT: <x402 payment header>"

# Sample 200 response body
{ "ok": true, "paid": true, "jobId": "6e33ea0f" }

Example: Solana Network (100 X Likes)

# Step 1 — discovery (no X-PAYMENT)
curl -i   "https://wurkapi.fun/api/x402/quick/solana/xlikes-100?url=https%3A%2F%2Fx.com%2Fsomeuser%2Fstatus%2F456"   -H "Accept: application/json"

# Sample 402 response body
{
  "x402Version": 1,
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana",
      "maxAmountRequired": "2500000",
      "resource": "https://wurkapi.fun/api/x402/jobs/7de467d2/pay",
      "description": "",
      "mimeType": "",
      "payTo": "SAT8g2xU7AFy7eUmNJ9SNrM6yYo7LDCi13GXJ8Ez9kC",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "maxTimeoutSeconds": 60,
      "extra": { "feePayer": "2wKupLR9q6wXYppw8Gr2NvWxKBUqm4PPJKkQfoxHDBg4" }
    }
  ]
}

# Step 2 — confirm (with X-PAYMENT)
curl -i   "https://wurkapi.fun/api/x402/quick/solana/xlikes-100?url=https%3A%2F%2Fx.com%2Fsomeuser%2Fstatus%2F456"   -H "Accept: application/json"   -H "X-PAYMENT: <x402 payment header>"

# Sample 200 response body
{ "ok": true, "paid": true, "jobId": "7de467d2" }

Handling Duplicate Jobs (409)

# If a similar open job already exists, you may receive HTTP 409

HTTP/1.1 409 Conflict
Content-Type: application/json

{ "message": "there is already a similar job running job id: 7de467d2" }

Build the X-PAYMENT header with an x402 client library (e.g., SDKs referenced in the official docs). See Coinbase x402 docs for protocol details and facilitator info.

Want more? Explore additional job types and create fully custom jobs — learn more at docs.wurk.fun.