Build an HTTP(S) campaign URL with correctly encoded UTM fields while preserving unrelated
Build an HTTP(S) campaign URL with correctly encoded UTM fields while preserving unrelated query parameters and fragments. Replaces duplicate instances of supplied UTM fields. Rejects embedded credentials. Never visits or validates destination content.
$0.01
price
—
calls / 30d
—
unique payers
2026-09-23
updated
Provider
www.tradepilotusa.com · verified
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x421b1e2ebc5458b5f3e156fd57300bbd8fd0a89e",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Use it
curl
curl "https://www.tradepilotusa.com/api/agent-commerce/v1/services/url_campaign_builder/execute" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://www.tradepilotusa.com/api/agent-commerce/v1/services/url_campaign_builder/execute");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://www.tradepilotusa.com/api/agent-commerce/v1/services/url_campaign_builder/execute")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/19984.json, and this resource appears in /discovery/resources and /discovery/search.