GameVaultPartner API
API Reference CLI Partner Dashboard
Developer Documentation

GameVault Partner API

Welcome to the GameVault Partner API

Manage your game catalog, track analytics, and grow your presence on GameVault.

The API is designed to be used with our official CLI tool, gamevault-cli, built in Rust for maximum performance and security.

Base URL#

All endpoints in this documentation are relative to the API base URL:

http://localhost:3000

Requests and responses use application/json. All timestamps are ISO 8601 in UTC.

Getting Started#

Follow these five steps to go from zero to managing your game catalog from the terminal.

  1. Create a partner account

    Sign up at /partner/ with your email, a password and your studio name.

  2. Get your API key

    Open the partner dashboard and copy your API key. Keys start with gv_. Keep it secret.

  3. Install the CLI tool

    Download the prebuilt binary, make it executable and place it on your PATH.

    Linux · x86_64 · v1.0.0 · 3.8 MB SHA-256 275daf7427f0d4a026ba441934d3b10942f2dcf5aeb515aa493f864cb3319397
  4. Configure your key

    gamevault-cli config set-key YOUR_API_KEY
  5. Start managing games

    gamevault-cli games list
You are all set

From here you can create games, view analytics and update your studio profile. See the CLI Reference for every command.

Authentication#

All partner endpoints require an API key sent in the X-API-Key header. Public endpoints (browsing and searching games, genres and reviews) and the auth endpoints do not require a key.

  • API keys start with the gv_ prefix.
  • Send the key on every request to /api/v1/partner/* endpoints.
  • The CLI handles this automatically once you run gamevault-cli config set-key.

Header format#

X-API-Key: gv_abc123...

Example request#

curl http://localhost:3000/api/v1/partner/profile \ -H "X-API-Key: gv_abc123..."
Keep your key secret

Never commit API keys to source control or expose them in client-side code. If a key is compromised, rotate it from the partner dashboard. A missing or invalid key returns 401 Unauthorized.

API Reference#

Each endpoint below shows the request, an example response, the equivalent gamevault-cli command and a cURL example. Endpoints marked API key require the X-API-Key header.

GETPOSTPUTDELETE

CLI Reference#

The full command reference for gamevault-cli. Arguments in angle brackets are required. Click the copy icon next to any command to copy it.

Rate Limits#

To keep the platform fast and fair for everyone, requests are rate limited.

ScopeLimitKeyed by
Partner endpoints100 requests / minuteAPI key
Public endpoints60 requests / minuteIP address

Rate limit headers#

Every response includes headers describing your current quota.

HeaderDescription
X-RateLimit-LimitMaximum number of requests allowed in the current window.
X-RateLimit-RemainingRequests remaining in the current window.
X-RateLimit-ResetUnix timestamp (seconds) at which the window resets.

Exceeding the limit#

When you exceed the limit the API responds with 429 Too Many Requests. Wait until the time in X-RateLimit-Reset before retrying.

HTTP/1.1 429 Too Many Requests X-RateLimit-Limit: 100 X-RateLimit-Remaining: 0 X-RateLimit-Reset: 1767225660 { "error": { "code": "RATE_LIMITED", "message": "Rate limit exceeded. Try again later." } }

Error Handling#

The API uses conventional HTTP status codes. Errors share a standard response format:

{ "error": { "code": "NOT_FOUND", "message": "Game not found" } }

Common error codes#

StatusMeaningDescription
400Bad RequestInvalid request body or parameters.
401UnauthorizedMissing or invalid API key.
403ForbiddenNot authorized to access this resource.
404Not FoundResource not found.
429Too Many RequestsRate limit exceeded.
500Internal Server ErrorServer error. Retry later; contact support if it persists.

SDKs and Tools#

Official

gamevault-cli

The official command line tool, written in Rust. See the install instructions.

Community

Community libraries

Built something for another language or platform? Contributions are welcome.

Recommended approach

The API is designed to be used primarily through our official Rust CLI tool. While the HTTP endpoints are documented here for transparency, we recommend using gamevault-cli for the best experience.

Community contributions are welcome. If you build a wrapper, integration or tool on top of the Partner API, let us know through the partner dashboard so we can feature it here.