Api Endpoint

x402-markettwits-news.onrender.com … /product/compare

Fetches 2-5 product URLs (urls=comma-separated, or repeated url=) with the same live chain as /product/info and returns per-item title/price/original_price/in_stock/rating/reviews_count, the cheapest and most expensive item, price_diff (abs RUB and percent of the cheapest), in_stock_count and all_in_stock. Items that fail carry error/detail; returns 502 (payment not settled) only if fewer than 2 items returned a price.

Open interactive test console

Offering

Provider
x402-markettwits-news.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-markettwits-news.onrender.com/product/compare
MIME type
application/json
First seen
2026-10-25T21:52:04.639Z
Last seen
Tags
None supplied

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
118 ms
Average latency
185 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "urls": {
          "type": "string",
          "minLength": 20,
          "maxLength": 10000,
          "description": "2-5 comma-separated product URLs (Wildberries; Ozon is accepted but currently blocked by its anti-bot). Alternatively repeat url= instead."
        }
      },
      "required": [
        "urls"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "urls": {
              "description": "2-5 comma-separated product URLs (Wildberries; Ozon is accepted but currently blocked by its anti-bot). Alternatively repeat url= instead.",
              "maxLength": 10000,
              "minLength": 20,
              "type": "string"
            }
          },
          "required": [
            "urls"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "all_in_stock": {
              "description": "true only if every requested item is in stock",
              "type": "boolean"
            },
            "cheapest": {
              "properties": {
                "price": {
                  "type": "number"
                },
                "product_id": {
                  "type": "string"
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": "string"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "count": {
              "type": "integer"
            },
            "currency": {
              "enum": [
                "RUB"
              ],
              "type": "string"
            },
            "fetched_at": {
              "type": "string"
            },
            "in_stock_count": {
              "type": "integer"
            },
            "items": {
              "description": "In request order; failed items carry error/detail",
              "items": {
                "properties": {
                  "data_source": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "detail": {
                    "type": "string"
                  },
                  "error": {
                    "description": "Present only on failed items",
                    "enum": [
                      "upstream_unavailable",
                      "out_of_stock_no_price"
                    ],
                    "type": "string"
                  },
                  "in_stock": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "original_price": {
                    "description": "List price before discount, when known",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "price": {
                    "description": "Current price, RUB (null when this item failed)",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "price_as_of": {
                    "description": "Only when the price came from the weekly CDN fallback",
                    "type": "string"
                  },
                  "product_id": {
                    "type": "string"
                  },
                  "rating": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "reviews_count": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "source": {
                    "enum": [
                      "wildberries",
                      "ozon"
                    ],
                    "type": "string"
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "product_id",
                  "url",
                  "title",
                  "price",
                  "in_stock"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "most_expensive": {
              "properties": {
                "price": {
                  "type": "number"
                },
                "product_id": {
                  "type": "string"
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": "string"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "price_diff": {
              "properties": {
                "abs": {
                  "description": "most_expensive - cheapest, RUB",
                  "type": "number"
                },
                "percent": {
                  "description": "abs / cheapest * 100",
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "succeeded": {
              "description": "Items that returned a price (>= 2, else 502)",
              "type": "integer"
            }
          },
          "required": [
            "count",
            "succeeded",
            "items",
            "cheapest",
            "most_expensive",
            "price_diff",
            "in_stock_count",
            "all_in_stock",
            "fetched_at"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}