Skip to content

Quickstart

A Marvel exit is an HTTP CONNECT proxy at resi.marvel.sh:9000. You authenticate with your API key as the proxy username and a target string as the proxy password. That’s the whole interface — anything that speaks HTTP proxy works unchanged.

  1. Create an account and add balance. Sign up at marvel.sh, then buy a prepaid bundle from the dashboard. A key with a zero balance cannot proxy — the gateway returns 402 until you top up. See Pricing & bundles.

  2. Create an API key. In the dashboard, open Keys and create one. It looks like mk_live_… and is shown once — store it now. You can revoke it anytime. See Authentication.

  3. Make your first request. Use your key as the username and country-US (any ISO 3166-1 alpha-2 code) as the password.

    Terminal window
    curl -x resi.marvel.sh:9000 \
    -U "mk_live_xxxxxxxxxxxxxxxx:country-US" \
    https://api.ipify.org?format=json
    # { "ip": "76.121.x.x" } — a US residential address
  4. Inspect the verdict (optional). The exit behind your request already cleared the Gauntlet. To see its evidence — Purity, Grade, and Seals — issue a node through the control API:

    Terminal window
    curl -X POST https://api.marvel.sh/v1/nodes \
    -H "Authorization: Bearer $MARVEL_TOKEN" \
    -H 'Content-Type: application/json' \
    -d '{"country":"US"}'
  • Your key resolved to your account (407 if it’s unknown or revoked).
  • country-US was parsed into a target. ASN/ISP tokens are rejected — targeting is country-only.
  • The gateway pinned a live, vetted exit from the US Reserve and tunnelled your request through it. You’re billed only for the bytes that flowed.