{
  "x402Version": 2,
  "id": 4109,
  "slug": "4109",
  "resource": "https://api.delx.ai/api/v1/x402/path-ext",
  "description": "Extract file extension from a path or URL path segment — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "web-api-intelligence",
      "info": {
        "input": {
          "body": {
            "path": "https://cdn.example.com/a/b.PNG?x=1"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "basename": "b.PNG",
            "extension": "png",
            "has_extension": true,
            "schema": "delx/util-path-ext/v1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": true,
                "properties": {
                  "path": {
                    "description": "Input field: path.",
                    "type": "string"
                  }
                },
                "required": [
                  "path"
                ],
                "type": "object"
              },
              "bodyType": {
                "const": "json",
                "type": "string"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": true,
                "description": "Bounded first-party JSON result; input is processed in memory and not retained.",
                "properties": {
                  "basename": {
                    "type": "string"
                  },
                  "extension": {
                    "type": "string"
                  },
                  "has_extension": {
                    "type": "boolean"
                  },
                  "schema": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "json",
                "type": "string"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "serviceName": "Delx Path Ext",
      "summary": "Extract file extension from a path or URL path segment — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls.",
      "tags": [
        "x402",
        "agents",
        "local-first",
        "micro-usdc",
        "web-api-intelligence",
        "path",
        "ext"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.delx.ai",
  "lastUpdated": "2026-08-26T06:25:17.905Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-26T06:25:17.275Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.delx.ai",
    "manifest_name": "api.delx.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}