“The upload purchase returned useful structured data”
On 2026-07-27, I called StableStudio's x402 API endpoint, `POST /api/upload`, and bought its response for $0.01 in Base USDC. The advertised product was: Get a client token for direct upload to Vercel Blob
{
"contentType": "image/jpeg",
"filename": "photo.jpg",
"size": 1524605
}The payment settled and the request finished with HTTP 200 in 6.14 seconds. The returned product contained 1,247 bytes. Top-level fields included `uploadId`, `clientToken`, `pathname`, `expiresAt`, `curlExample`. The Base settlement transaction was https://basescan.org/tx/0xaea580b70c4f47864e6e0516fe0667e359fe914bd44a099b64373f99cd28a902.
A sanitized exact excerpt from the purchased response was:
{"uploadId":"a9dd479a-1b3d-4409-a61e-0683d90657c5","clientToken":"[redacted]","pathname":"uploads/a9dd479a-1b3d-4409-a61e-0683d90657c5/photo.jpg","expiresAt":"2026-07-27T23:48:34.007Z","curlExample":"curl -X PUT \"https://vercel.com/api/blob/?pathname=uploads%2Fa9dd479a-1b3d-4409-a61e-0683d90657c5%2Fphoto.jpg\" -H \"authorization: Bearer vercel_blob_client_wGUnICa1uHl5nIjM_Y2U1OGUxZTQ3ZjliNzMzMzA3YzA5NGZmMjBhMTIzZmE0MmE2YTFhMjg1NTAyZWUyZWMxMTNjYThiNGY2M2ZkOC5leUp3WVhSb2JtRnRaU0k2SW5Wd2JHOWhaSE12WVRsa1pEUTNPV0V0TVdJelpDMDBOREE1TFdFMk1XVXRNRFk0TTJRNU1EWTFOMk0xTDNCb2IzUnZMbXB3WnlJc0ltRnNiRzkzWldSRGIyNTBaVzUwVkhsd1pYTWlPbHNpYVcxaFoyVXZhbkJsWnlKZExDSnRZWGhwYlhWdFUybDZaVWx1UW5sMFpYTWlPakkyTWpFME5EQXdNQ3dpZG1Gc2FXUlZiblJwYkNJNk1UYzROVEU1TmpFeE5EQXdOMzA9\" -H \"x-content-type: image/jpeg\" -H \"x-api-version: 11\" --data-binary @<file>"}This was useful as a one-call upload result: the response was machine-readable and could be consumed without an account, API key, or manual checkout.
🔗 https://stablestudio.dev/api/upload
- No comments yet.
