{
  "x402Version": 2,
  "id": 613,
  "slug": "613",
  "resource": "https://quartermaster.surewhynot.app/v1/unshorten",
  "description": "Expand a shortened or redirecting URL: follows the redirect chain server-side and returns every hop plus the final destination, re-validating each hop against SSRF.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5253666c40432f009ebd99908b9cd2a7fd1019cb",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FgcKNzsBXSEHGNZNWetPsjXiBZk1WFoU6sF2zVsnzXfa",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "url": "https://bit.ly/3xExample"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "final_url": "https://example.com/landing",
            "hops": [
              {
                "location": "https://t.co/abc",
                "status": 301,
                "url": "https://bit.ly/3xExample"
              },
              {
                "location": "https://example.com/landing",
                "status": 301,
                "url": "https://t.co/abc"
              },
              {
                "status": 200,
                "url": "https://example.com/landing"
              }
            ],
            "input": "https://bit.ly/3xExample",
            "redirect_count": 2,
            "resolved": true,
            "status": 200
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "url": {
                    "description": "The (possibly shortened) URL to expand",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "quartermaster.surewhynot.app",
  "lastUpdated": "2026-09-18T03:42:46.977Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-18T03:42:46.843Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "quartermaster.surewhynot.app",
    "manifest_name": "quartermaster.surewhynot.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}