CHATGPTGO API

A small, read-only API for live product data

The public endpoints expose the same catalogue and health information used by the storefront. They do not require an API key and must not be used to bypass checkout, order access controls or payment verification.

Public endpoints

GEThttps://chatgptgo.homes/api/products

Returns the live product options and grouped storefront catalogue, including current prices, stock counts and sale status.

GEThttps://chatgptgo.homes/api/health

Returns a small service-health response after checking the database connection.

POSThttps://chatgptgo.homes/api/orders/lookup

Accepts a trade number and purchase email, then creates a short-lived same-origin order Cookie when the pair matches.

Product catalogue response

The response contains a flat products array and a grouped groups array. Prices are decimal strings in CNY and stock values are current available counts.

{
  "products": [
    {
      "slug": "chatgpt-plus-ph-card",
      "groupSlug": "chatgpt-plus-ph-card",
      "name": "ChatGPT Plus Channel Card (Philippines, 1-Month Warranty)",
      "price": "113.00",
      "currency": "CNY",
      "available": 0,
      "saleEnabled": true
    }
  ],
  "groups": [
    {
      "slug": "chatgpt-plus-ph-card",
      "fromPrice": "113.00",
      "options": []
    }
  ]
}

Errors and caching

  • 200: the request succeeded.
  • 400: malformed lookup input.
  • 404: no matching order for the supplied pair.
  • 503: database health check failed.
  • Catalogue responses are dynamic and should be treated as live, not cached indefinitely.

Order security

Order details are not returned by an unauthenticated endpoint. A successful lookup creates a short-lived HttpOnly Cookie scoped to the order path. Never expose an order number and purchase email together in public.

Open order lookup