STEP 1 OF 4
Find a product
Ask G2A for its catalogue. Each product has offers from different sellers, with their own price and stock. The server authenticates with OAuth first and reuses its cached token until expiry.
GET /export/v1/product-offers?page=1&itemsPerPage=10
For developers · Backend function
apps/api/src/g2a.service.ts · list()
list() {
return this.client.request("product-offers?page=1&itemsPerPage=10");
}Controller → G2aService → G2aClient.request(). OAuth tokens are cached in server memory; requests use a Bearer token. Secrets are masked in the response. No database is involved.
1 / 4