77trust / 100

Fix

by list-smith in Developer tools

x402 APIPassing, checked 8 h ago

Repair one x402 route's Bazaar discovery metadata. Send a resource URL and one real sample; get the defect report plus a package that ships only after passing both x402 SDK validators: full output schema inferred from the sample, a sub-500-char description with a use-when sentence, OpenAPI and well-known snippets, instructions. Mode 'compact' returns the repaired fields only (description, extension info, changes). Use this when your listing is hollow, invalid, or invisible in the Bazaar.

POST
https://list-smith-production.up.railway.app/v1/fix
Price
$0.1
per call in USDC
Uptime
99.0%
last 30 days
Response time
368 ms
487 ms slowest 5%
Last check
Passed
8 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://list-smith-production.up.railway.app/v1/fix

Each call costs $0.1 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://list-smith-production.up.railway.app/v1/fix
content-type: application/json

{
  "category": "data",
  "mode": "compact",
  "name": "Target Thing",
  "resource_url": "https://target.example.com/v1/thing",
  "sample_output": {
    "score": 12,
    "verdict": "OK"
  }
}

Parameters

ParameterTypeRequiredDescription
categorystringNoOptional category (e.g. token-risk, search, data, media, monitoring) used to phrase the description's use-when sentence.
modestringNoOptional response mode, default 'full'. 'full' returns the complete package (extension with meta-schema, OpenAPI + well-known snippets, instructions). 'compact' returns the repaired fields only (description, extension info, changes) in a smaller response; the package is validated the same way in bo… One of: full, compact.
namestringNoOptional display name for the generated description; derived from the URL when omitted.
resource_urlstringYesFull URL of the x402 resource to repair, e.g. https://service.example.com/v1/endpoint
sample_outputanyYesOne real response body from the endpoint (required). The repaired output schema is inferred from this sample only — nothing is invented.

Example response

The provider's example. We can't check it without paying.

Example response, 63 lines
{
  "defects": [
    {
      "detail": "info.output carries only type/example — the hollow shape 87.8% of listings ship. No field is typed, so a buyer cannot validate a response.",
      "name": "hollow output schema (example only, no typed schema)",
      "severity": "major"
    }
  ],
  "failure": null,
  "graded_at": "2026-10-25T05:23:52.455109+00:00",
  "mode": "compact",
  "notes": [
    "compact: fields only — set route description = package.description, extension info = package.info (meta-schema via your x402 SDK); full mode returns snippets + instructions.",
    "inferred_from: single_sample — review inferred schema before shipping."
  ],
  "ok": true,
  "package": {
    "changes": [
      "description rewritten (139 chars, sub-500, with a use-when sentence)",
      "output schema inferred from sample (verdict, score)"
    ],
    "description": "Target Thing — returns verdict, score. Use when you need structured data inside an agent workflow. $0.02 per call in USDC on Base via x402.",
    "inferred_from": "single_sample",
    "info": {
      "input": {
        "body": {
          "thing_id": "abc"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "score": 12,
          "verdict": "OK"
        },
        "schema": {
          "properties": {
            "score": {
              "type": "integer"
            },
            "verdict": {
              "type": "string"
            }
          },
          "required": [
            "verdict",
            "score"
          ],
          "type": "object"
        },
        "type": "json"
      }
    },
    "validation": {
      "consistency_valid": true,
      "spec_valid": true
    }
  },
  "resource_url": "https://target.example.com/v1/thing",
  "score_before": 88
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.1.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://list-smith-production.up.railway.app/v1/fix' \
  -H 'content-type: application/json' \
  --data-raw '{"category":"data","mode":"compact","name":"Target Thing","resource_url":"https://target.example.com/v1/thing","sample_output":{"score":12,"verdict":"OK"}}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://list-smith-production.up.railway.app/v1/fix' \
  -H 'content-type: application/json' \
  --data-raw '{"category":"data","mode":"compact","name":"Target Thing","resource_url":"https://target.example.com/v1/thing","sample_output":{"score":12,"verdict":"OK"}}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.1 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.1" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.1 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Flist-smith-production.up.railway.app%2Fv1%2Ffix&method=POST
const res = await pay("https://list-smith-production.up.railway.app/v1/fix", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "category": "data",
    "mode": "compact",
    "name": "Target Thing",
    "resource_url": "https://target.example.com/v1/thing",
    "sample_output": {
      "score": 12,
      "verdict": "OK"
    }
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.1 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.1"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://list-smith-production.up.railway.app/v1/fix",
        json={
            "category": "data",
            "mode": "compact",
            "name": "Target Thing",
            "resource_url": "https://target.example.com/v1/thing",
            "sample_output": {
                "score": 12,
                "verdict": "OK",
            },
        },
    )
    print(res.status_code, res.text)

Security scan

1 finding

  • Payment address changed recently in payment
    Payment address changed from 0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F to 0x4e31ec77ca099fd95cbc1c4042ca26a249a38181

Recent checks

WhenResultHTTPTimePrice
8 h agoPassed402348 ms$0.1
19 h agoPassed402350 ms$0.1
29 h agoPassed402375 ms$0.1
39 h agoPassed402340 ms$0.1
2 days agoPassed402341 ms$0.1
Show 10 older checks
3 days agoPassed402480 ms$0.1
3 days agoPassed402346 ms$0.1
5 days agoTimed out---
6 days agoPassed402343 ms$0.1
7 days agoPassed402398 ms$0.1
7 days agoPassed402344 ms$0.1
8 days agoPassed402385 ms$0.1
8 days agoPassed402352 ms$0.1
8 days agoPassed402418 ms$0.1
9 days agoPassed402350 ms$0.1

History

24 Nov 2026Payment address changed from 0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F to 0x4e31ec77ca099fd95cbc1c4042ca26a249a38181
20 Nov 2026Price changed from $0.5 to $0.1