Discover/kingshot-giftcode.centurygame.com API
live

kingshot-giftcode.centurygame.com APIkingshot-giftcode.centurygame.com

Redeem King's Shot gift codes, look up players by ID, and fetch gift code center config via 3 dedicated endpoints. JSON responses with reward data and error codes.

Endpoints
3
Updated
11h ago
Try it
The player's in-game ID (numeric string found via the in-game avatar).
api.parse.bot/scraper/ea8ff0bc-09f9-419a-a710-2374107ef49c/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X POST 'https://api.parse.bot/scraper/ea8ff0bc-09f9-419a-a710-2374107ef49c/get_player' \
  -H 'X-API-Key: $PARSE_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{}'
All endpoints · 3 totalclick to expand

Look up a King's Shot player by their in-game player ID. Returns player information if the ID exists, or an error response (code=1, err_code=40001) if the player is not found. The player ID can be found in-game through the avatar in the top left corner.

Input
ParamTypeDescription
fidrequiredstringThe player's in-game ID (numeric string found via the in-game avatar).
Response
{
  "type": "object",
  "fields": {
    "msg": "string status message from the API",
    "code": "integer indicating success (0) or failure (1)",
    "data": "object containing player details when found, or empty array when not found",
    "err_code": "integer error code (0 for success, 40001 for player not found)"
  },
  "sample": {
    "msg": "role not exist.",
    "code": 1,
    "data": [],
    "err_code": 40001
  }
}

About the kingshot-giftcode.centurygame.com API

The King's Shot Gift Code API exposes 3 endpoints for interacting with the Kingshot mobile game redemption center at kingshot-giftcode.centurygame.com. Use get_player to verify a player exists by their in-game numeric ID, redeem_code to submit a gift code and receive reward item data in return, and get_gift_code_config to retrieve promotional banner URLs for each supported language. All responses include a code field and an err_code for precise error handling.

Player Lookup

The get_player endpoint accepts a single required parameter, fid, which is the numeric player ID visible in-game via the avatar in the top-left corner. A successful response returns code: 0 along with a data object containing player details. If no player matches the supplied fid, the response returns code: 1 and err_code: 40001. This lets you validate player IDs before attempting redemption, reducing wasted requests.

Gift Code Redemption

The redeem_code endpoint takes both fid (player ID) and code (the alphanumeric gift code, case-sensitive). On success, data contains an array of reward items granted to the player. Failure states are communicated through err_code: 40014 signals the gift code was not found or is invalid, while 40001 indicates the player ID does not exist. Codes must be redeemed per-player — there is no batch redemption across multiple fid values in a single request.

Gift Code Center Configuration

The get_gift_code_config endpoint requires no parameters and returns a data object keyed by language code. Each language entry contains pc_banner and mob_banner URL strings pointing to the promotional imagery for that locale. This is useful for building localized redemption UIs that mirror the official gift code center's appearance.

Common use cases
  • Validate a King's Shot player ID before presenting a gift code redemption form
  • Build a self-service redemption tool where players enter their fid and a code to claim in-game rewards
  • Display language-specific promotional banners from get_gift_code_config in a web or mobile redemption portal
  • Surface clear error messages to users by mapping err_code values (40001, 40014) to human-readable feedback
  • Track redemption outcomes by logging data reward arrays returned from successful redeem_code calls
  • Automate gift code distribution campaigns by iterating over a list of player IDs and submitting codes programmatically
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does King's Shot or Century Games offer an official public developer API for gift code redemption?+
Century Games does not publish a documented public developer API for the King's Shot gift code center. The redemption portal at kingshot-giftcode.centurygame.com is intended for end-user redemption rather than third-party developer integration.
What does `redeem_code` actually return on a successful redemption?+
On success (code: 0, err_code: 0), the data field contains an array of reward items that were granted to the player. On failure, data is an empty array and err_code identifies the reason: 40014 means the gift code was not found or is invalid, and 40001 means the player ID does not exist.
Can I look up a player's game stats, inventory, or match history through this API?+
No — player data is limited to what get_player returns for a given fid, scoped to the gift code center context. Game stats, inventory, and match history are not covered. You can fork this API on Parse and revise it to add endpoints targeting other King's Shot data surfaces if they become available.
Is there a way to list all currently valid gift codes through this API?+
The API does not expose a gift code listing endpoint. The three endpoints cover player lookup, code redemption, and banner configuration. You can fork this API on Parse and revise it to add a gift code discovery endpoint if that data surface is accessible.
Are gift codes case-sensitive, and can the same code be redeemed more than once per player?+
Yes, the code parameter passed to redeem_code is case-sensitive. Attempting to redeem a code that has already been used by the same player, or one that does not exist, returns err_code: 40014. The API response does not distinguish between an already-used code and a completely invalid one — both surface the same error code.
Page content last updated . Spec covers 3 endpoints from kingshot-giftcode.centurygame.com.
Related APIs in EntertainmentSee all →
store.steampowered.com API
Search Steam Store listings, fetch featured categories (specials, top sellers, new releases), and retrieve app details and user reviews by Steam AppID.
justwatch.com API
Search for movies and TV shows, retrieve streaming availability and detailed metadata, browse trending content, and discover similar titles — all via JustWatch.
seatgeek.com API
Search for events and performers, view ticket listings with pricing data, and explore venue information across multiple event categories. Get real-time insights into event details, ticket price trends, and what's currently trending to help you find and compare tickets.
poe.ninja API
Access real-time Path of Exile economy data from poe.ninja, including item prices, currency exchange rates, divination card values, market trends, and build statistics by class.
rcdb.com API
Discover and explore roller coasters and amusement parks with detailed information including coaster specifications, park details, images, and search capabilities. Find random coasters for inspiration or quickly search for specific rides to compare features and view photos from the world's largest roller coaster database.
stubhub.com API
Search and discover tickets across StubHub's marketplace by looking up events, performers, and categories to find exactly what you want to attend. Browse event details, performer schedules, and curated category collections to compare available tickets and make informed purchasing decisions.
rottentomatoes.com API
Search for movies and TV shows, get detailed information like ratings and reviews, and browse curated collections to discover what to watch. Access comprehensive Rotten Tomatoes data including critic and audience scores, plot details, and user reviews all in one place.
atomtickets.com API
Find movie showtimes, theater locations, and ticket prices in your area, then browse current and upcoming films with detailed information. Search for specific movies or theaters to compare showtimes and pricing across venues near you.
King's Shot Gift Code API | kingshot-giftcode · Parse