Home ยท Partner API

Partner API

Pull ranked LEGO price data for 8 countries into your own site or app. Contact us for a key.

Authentication

All requests require a key issued from the admin dashboard:

Authorization: Bearer lgo_xxxxxxxx.xxxxxxxxxxxx

Endpoints

GET /api/v1/feed/{country}

Best price per tracked set for a country. Cheapest first per set. Country codes: us, uk, fr, de, pl, mx, es, it.

GET https://lgocompare.info/api/v1/feed/uk?limit=100&theme=Icons Authorization: Bearer lgo_...

Query params: limit (max 500), offset, theme, set (comma-separated set numbers).

GET /api/v1/set/{set_number}?country=uk

All in-stock listings for a single set in the given country, cheapest first.

GET https://lgocompare.info/api/v1/set/10307?country=uk Authorization: Bearer lgo_...

Quotas & caching

Each partner has a monthly request quota. Responses cache at the CDN for 5 minutes.

Currencies

Native currency (USD, GBP, EUR, PLN, MXN) plus price_gbp for cross-country ranking.