Try an unofficial GTA 5 mock API with sample characters, vehicles and missions. Filter sports cars and run a JSON request in your browser without an API key.
Base URL: https://funapi.dev/api/gta/v1 · 17 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.
heroes and contacts
GET /gta/v1/characters — List characters (filter by city or affiliation) · Responds with 200 Link to this endpointGET /gta/v1/characters/{id} — Get one character · Responds with 200 404 Link to this endpointcars and Pay-n-Spray
GET /gta/v1/vehicles — List vehicles (filter by class) · Responds with 200 Link to this endpointGET /gta/v1/vehicles/{id} — Get one vehicle · Responds with 200 404 Link to this endpointPOST /gta/v1/vehicles/{id}/respray — Respray a vehicle at Pay-n-Spray — spends cash (402 when broke) (requires Bearer auth) · Responds with 200 402 404 422 Link to this endpointthe ammu-nation catalogue
GET /gta/v1/weapons — Browse the ammu-nation catalogue (filter by category) · Responds with 200 Link to this endpointPOST /gta/v1/weapons/{id}/buy — Buy a weapon — spends cash (402 when broke, 409 if already owned) (requires Bearer auth) · Responds with 200 404 409 402 Link to this endpointstory jobs with prereqs
GET /gta/v1/missions — List missions (filter by status or city) · Responds with 200 Link to this endpointGET /gta/v1/missions/{id} — Get one mission with its prereq · Responds with 200 404 Link to this endpointPOST /gta/v1/missions/{id}/start — Start a mission (409 if one is active, 422 if prereq not completed) (requires Bearer auth) · Responds with 200 404 409 422 Link to this endpointPOST /gta/v1/missions/{id}/complete — Complete the active mission — pays out the reward (requires Bearer auth) · Responds with 200 404 409 Link to this endpointPOST /gta/v1/heists — Plan a heist — choose an approach (admin only) (requires Bearer auth) · Responds with 201 422 Link to this endpointGET /gta/v1/heists/{id} — Get a planned heist · Responds with 200 404 Link to this endpointstars, bribes and police chases
GET /gta/v1/wanted — Current wanted level (0–5 stars) · Responds with 200 Link to this endpointPOST /gta/v1/wanted/increase — Commit a crime — inflates wanted level after a ~2s police chase (requires Bearer auth) · Responds with 200 409 Link to this endpointDELETE /gta/v1/wanted — Bribe the LSPD to clear wanted level — costs $1000/star (402 when broke) (requires Bearer auth) · Responds with 200 402 409 Link to this endpointin-game stations
GET /gta/v1/radio — List in-game radio stations · Responds with 200 Link to this endpointUse this fan-made Grand Theft Auto sandbox to test a vehicle list, character directory or mission tracker. The vehicles endpoint can filter by class and returns fields such as model name, top speed and price. The characters endpoint can filter by city or affiliation. The catalog includes entries from several GTA games, and the missions, wallet and wanted level reflect sandbox state rather than live GTA Online data.
GET https://funapi.dev/api/gta/v1/vehicles?class=sports — List vehicles (filter by class). No token, no signup:
curl -i "https://funapi.dev/api/gta/v1/vehicles?class=sports"
Response: 200 OK
{
"total": 3,
"data": [
{
"id": 1,
"name": "Comet",
"class": "sports",
"topSpeedMph": 198,
"price": 119000,
"color": "red",
"resprayCost": 1200
},
{
"id": 2,
"name": "Banshee",
"class": "sports",
"topSpeedMph": 211,
"price": 89000,
"color": "blue",
"resprayCost": 950
},
{
"id": 8,
"name": "Sentinel",
"class": "sports",
"topSpeedMph": 188,
"price": 78000,
"color": "silver",
"resprayCost": 850
}
]
}
The vehicles endpoint matches class without regard to case. In the sample, total is 3 and every record in data has class set to sports. Each vehicle includes topSpeedMph in miles per hour and a price in sandbox currency. These values are fixtures for testing filters and displays.
Unofficial and fan-made. The GTA API is a practice API that borrows a theme; it is not affiliated with, sponsored or endorsed by the owners of the names it references, which belong to them. Every record it returns is test data for exercising HTTP behaviour, not an authoritative source on the subject.
Last updated