{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "url-shortener-production-5384-up-railway-app-api-shorten",
  "title": "Railway URL Shortener \u00b7 Create Short Links",
  "url": "https://url-shortener-production-5384.up.railway.app/api/shorten",
  "category": "tools",
  "summary": "Generate shortened URLs with optional custom aliases for link management.",
  "seo": {
    "title": "x402 URL Shortener API | Base Network Micropayments",
    "description": "Create short URLs via x402 micropayments. Custom aliases and link management. Pay 0.001 USDC per shortened URL on Base network."
  },
  "use_cases": [
    "Create branded short links for marketing campaigns",
    "Generate trackable URLs for analytics",
    "Build custom link shorteners into applications"
  ],
  "ideal_buyer": "Marketing automation tools and link management services.",
  "example_prompt": "Shorten https://example.com/long-url to custom alias 'launch24'",
  "example_request_body": {
    "url": "https://example.com/very-long-url-path",
    "custom_alias": "launch24"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap_outlier",
    "ratio": 0.05,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x6e8b64638b24c6d625b045dd353120d850064e2e",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "1000",
      "max_timeout_seconds": 300,
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "The URL to shorten"
              },
              "custom_alias": {
                "type": "string",
                "description": "Optional custom alias for the short URL (3-20 alphanumeric chars)"
              }
            }
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {}
        }
      }
    }
  ],
  "origin": {
    "slug": "url-shortener-production-5384-up-railway-app",
    "host": "url-shortener-production-5384.up.railway.app",
    "title": "URL Shortener Service",
    "description": "A URL shortening API hosted on Railway. Accepts x402 payments for programmatic link generation and management.",
    "url": "https://url-shortener-production-5384.up.railway.app",
    "favicon": "https://url-shortener-production-5384.up.railway.app/favicon.ico"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/url-shortener-production-5384-up-railway-app-api-shorten",
    "url": "https://x402all.com/resource/url-shortener-production-5384-up-railway-app-api-shorten",
    "name": "Railway URL Shortener \u00b7 Create Short Links",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/url-shortener-production-5384-up-railway-app-api-shorten",
      "@type": "Offer",
      "price": "0.001",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.001000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://url-shortener-production-5384.up.railway.app/api/shorten",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/url-shortener-production-5384-up-railway-app",
      "url": "https://url-shortener-production-5384.up.railway.app",
      "name": "URL Shortener Service",
      "@type": "Organization"
    },
    "identifier": "url-shortener-production-5384-up-railway-app-api-shorten",
    "description": "Create short URLs via x402 micropayments. Custom aliases and link management. Pay 0.001 USDC per shortened URL on Base network.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=url-shortener-production-5384-up-railway-app-api-shorten",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "tools"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=url-shortener-production-5384-up-railway-app-api-shorten"
}
