Barter.vg

Games API · Works globally · Game trading · No API key

TL;DR

Barter.vg is a community platform for trading video games across digital storefronts (Steam, GOG, Origin, Uplay, etc.) and physical formats. The API provides access to game data, user collections, trade listings, and platform information. Search games by name or platform, browse active trades, and look up game metadata including genre, platform, and release year. JSON format, no API key for public data. Great for game collection managers and trade aggregators.

Quick start: https://api.barter.vg/games?search=Portal+2

No API key needed — just make a request!

How to Use This API

1. Search Games

https://api.barter.vg/games?search=Portal+2

2. List All Supported Platforms

https://api.barter.vg/platforms

3. JavaScript — Game Details

fetch('https://api.barter.vg/games?search=Portal+2')
  .then(r => r.json())
  .then(games => {
    games.slice(0, 3).forEach(g => {
      console.log(`${g.name} (${g.year})`);
      console.log(`  Platform: ${g.platform}`);
      console.log(`  Genre: ${g.genre}`);
      console.log(`  Trades: ${g.trade_count}`);
    });
  });

4. Python — Find Tradeable Games

import requests

games = requests.get(
    'https://api.barter.vg/games',
    params={'search': 'Half-Life'}
).json()

for g in games:
    if g.get('trade_count', 0) > 0:
        print(f"{g['name']} — {g['platform']} ({g.get('year', 'N/A')})")
        print(f"  {g['trade_count']} active trades")
Search Portal 2: https://api.barter.vg/games?search=Portal+2

Frequently Asked Questions

What game data is available?
Each game entry includes: name, platform, publisher, developer, release year, genre, ESRB rating, box art URL, and current trade count on the platform.
What platforms are supported?
Steam, GOG, Origin, Uplay, Battle.net, Epic Games Store, Nintendo Switch, PlayStation (4, 5), Xbox (One, Series X|S), and physical formats.
Can I search by platform?
Yes, use the platform parameter: /games?platform=Steam&search=Portal. Get the platform list via /platforms.
Does the API require authentication?
Public game and platform data is accessible without authentication. User-specific endpoints (collections, trades) require OAuth.
How current is the trade data?
Trade counts update in real-time as users post new trade listings or complete trades on the Barter.vg platform.
Is there a rate limit?
Barter.vg permits reasonable API usage. For higher volumes, contact the platform administrators.

API Details

API URL
https://api.barter.vg
Documentation
barter.vg/api
Category
Games
Authentication
Not Required (public endpoints)
Geographic Coverage
Global

What You Can Build