Api Endpoint

Forest Commerce

Combine public product resolution, one fresh isolated anonymous cart, optional delivery lookup and checkout handoff evidence into one bounded purchase preflight. Shopify Ajax and WooCommerce Store API are supported; Forest never logs in, touches a customer session, creates an order or attempts payment. Base mainnet USDC

Open interactive test console

Offering

Provider
http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Business And Commerce
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/commerce/purchase-preflight
MIME type
Not provided
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
commerce, purchase, checkout

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.006 USDC
Atomic price: 6000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "6000",
    "payTo": "0xb48D918151311F982d542eF5C84cc1cd54CFf7a9"
  }
]

Observed health

Status
Reachable
Latest latency
261 ms
Average latency
612 ms
HTTP status
405
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "destination": {
          "additionalProperties": false,
          "description": "Delivery country and postal code used to quote delivery availability.",
          "properties": {
            "country": {
              "description": "Public country value used to scope this lookup.",
              "pattern": "^[A-Za-z]{2}$",
              "type": "string"
            },
            "postal_code": {
              "description": "Public postal code value used to scope this lookup.",
              "maxLength": 32,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "country",
            "postal_code"
          ],
          "type": "object"
        },
        "quantity": {
          "description": "Requested item quantity to validate against provider limits.",
          "maximum": 100,
          "minimum": 1,
          "type": "integer"
        },
        "url": {
          "description": "Public HTTP(S) URL to inspect, resolve, or compare.",
          "maxLength": 2048,
          "minLength": 1,
          "pattern": "^https?://",
          "type": "string"
        },
        "variant_id": {
          "description": "Public provider variant identifier to validate.",
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "url",
        "quantity"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "destination": {
              "additionalProperties": false,
              "description": "Delivery country and postal code used to quote delivery availability.",
              "properties": {
                "country": {
                  "description": "Public country value used to scope this lookup.",
                  "pattern": "^[A-Za-z]{2}$",
                  "type": "string"
                },
                "postal_code": {
                  "description": "Public postal code value used to scope this lookup.",
                  "maxLength": 32,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "country",
                "postal_code"
              ],
              "type": "object"
            },
            "quantity": {
              "description": "Requested item quantity to validate against provider limits.",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            "url": {
              "description": "Public HTTP(S) URL to inspect, resolve, or compare.",
              "maxLength": 2048,
              "minLength": 1,
              "pattern": "^https?://",
              "type": "string"
            },
            "variant_id": {
              "description": "Public provider variant identifier to validate.",
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "url",
            "quantity"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}