Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man url-expander

/url-expander

agentutility / web-probe / url-expander
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
uncategorized
STATUS
live
NAME
url-expander url expander api / shortlink resolver / redirect-chain tracer
synonym alias of expand-url — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/url-expander
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

URL expander API / shortlink resolver / redirect-chain tracer. Same expand-url backend, discoverable for agents expanding bit.ly, t.co, lnkd.in, goo.gl, tinyurl, and other redirects into final landing URLs with hop-by-hop status, Location, content-type, and timing details.

INPUTrequest schema
propertytypedescriptionreq?
urlstringStarting URL (typically a shortlink). Must be http(s).required
max_hopsnumberMaximum redirect hops to follow. 1-20. Default 10.optional
user_agentstringOptional User-Agent header to send (some shorteners gate by UA). Default is a generic browser UA.optional
OUTPUTresponse shape
fieldtypedescription
initial_urlstring
final_urlstring
hop_countstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/url-expander \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the url-expander tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
web-probeurlexpanderurl-expander
methods
POST
cluster
webprobe
price
$0.02 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
archive-snapshotArchive snapshot API / web archive lookup / Wayback Machine API / historical webpage snapshot / archived URL finder.$0.02
archive-snapshot-apiArchive snapshot API / Wayback Machine snapshot lookup / historical URL capture.$0.02
archive-urlArchive URL lookup / archive snapshot finder / web archive URL builder / Wayback Machine snapshot API.$0.02
brand-domain-checkBrand domain check API / startup domain diligence / company-name domain screen.$0.02
brand-watch-domain-riskBrand watch domain risk API / lookalike-domain RDAP triage / trademark monitoring support.$0.02
creator-domain-checkCreator domain check API / newsletter domain age / personal brand domain diligence.$0.02
dmarc-checkDMARC + SPF + DKIM email-authentication checker / mail-auth posture audit / spoofing-resistance grader / phishing-readiness scanner / dom…$0.02
dns-lookupDNS lookup / DNS resolver / dig replacement / nslookup API / DoH proxy / authoritative-record fetch / MX checker / SPF + DMARC TXT inspec…$0.02
SEE ALSO
agentutility · webprobe · x402 · mcp · llms.txt · registry.json · bazaar.x402.org