Skip to content
Revadike edited this page Apr 20, 2021 · 3 revisions

GET /giveaways/json

Request

Host: barter.vg or bartervg.com

Path: /giveaways/json

Response

Name Type Description
:giveaway_id object Key :giveaway_id is the incrementing ID of the giveaway that is viewable at https://barter.vg/giveaway/:giveaway_id/
:giveaway_id.item_id number The ID of the barter.vg item (e.g. game or DLC)
:giveaway_id.platform_id number The source ID of the platform (e.g. 1 = Steam app)
:giveaway_id.sku number The internal ID used by the platform/source (e.g. appid for Steam)
:giveaway_id.title string The title of the item in the giveaway
:giveaway_id.type_id number The giveaway type ID

Example

GET https://barter.vg/giveaways/json
{
  ...
  "1": {
    "item_id": 139254,
    "platform_id": 66,
    "sku": null,
    "title": "Dandara: Trials of Fear Edition",
    "type_id": true
  },
  ...
}
Clone this wiki locally