Get Craftland Map Information

View as markdown
GET /craftland

Retrieves detailed information about a specific Craftland custom map.

Headers

  • x-api-key string

    Your API key from the developer portal (Header method - Recommended).

    Alternative: You can also pass the API key as a query parameter ?key=your_api_key

Query parameters

  • region string Required

    The region code for the player's account:

    • sg: Singapore region (covers SG, ID, ME, VN, TH, CIS, EU, TW, MY, PK, BD)
    • ind: India region (covers IND only)
    • br: Brazil region (covers BR, US, NA, LATAM)

    Values are sg, ind, or br.

  • code string Required

    The Craftland map code

Responses

  • 200 application/json

    Map information successfully retrieved

    Hide headers attributes Show headers attributes
    • X-RateLimit-Limit

      The maximum number of requests allowed in the current time window

    • X-RateLimit-Remaining

      The number of requests remaining in the current time window

    Hide response attribute Show response attribute object
    • map_info object
  • 400 application/json

    Bad request - Invalid parameters

    Hide response attributes Show response attributes object
    • error string
    • message string
    • status integer
  • 401 application/json

    Unauthorized - Invalid or missing API key

    Hide response attributes Show response attributes object
    • error string
    • message string
    • status integer
  • 404

    Map not found

  • 429 application/json

    Too many requests - Rate limit exceeded

    Hide response attributes Show response attributes object
    • error string
    • message string
    • status integer
GET /craftland
curl \
 --request GET 'https://developers.freefirecommunity.com/api/v1/craftland?region=ind&code=FREEFIRE625B83664022B40F67CBFBFF9CC3C1247490' \
 --header "x-api-key: ffc_1234567890_abcdefghijk"
Response examples (200)
# Headers
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 45

# Payload
{
  "map_info": {}
}
Response examples (400)
{
  "error": "string",
  "message": "string",
  "status": 42
}
Response examples (401)
{
  "error": "string",
  "message": "string",
  "status": 42
}
Response examples (429)
{
  "error": "string",
  "message": "string",
  "status": 42
}