ASAP Assets Log inasaplay.app ↗
API v1

Developer API

A free, read-only API to search and download our 3D objects from your tool, engine or pipeline.

Rather not code? Compose a full game pack with the assistant →

Endpoints

GET /api/v1/catalogSingle objects, filters: kind, family, category, theme, engine, style, min_tris, max_tris, sort, page, per_page
GET /api/v1/items/{id}One object or pack with its files and links
GET /api/v1/search?q=EN/FR search (accents and plurals ignored)
GET /api/v1/packsPacks, bundles and tools
GET /api/v1/themesUniverses and object counts
GET /api/v1/familiesObject families and sub-families
GET /api/v1/soundsSound effects (soon)
GET /api/v1/recipesThe assistant's genre recipes

Examples

curl

# Premiers objets low-poly de type "épée", 10 par page
curl "https://assets.asaplay.app/api/v1/search?q=sword&per_page=10"

# Un objet, ses fichiers et ses liens de téléchargement
curl "https://assets.asaplay.app/api/v1/items/it-book-stack-red"

# Catalogue filtré : horreur, 1 500 triangles max
curl "https://assets.asaplay.app/api/v1/catalog?theme=horror&max_tris=1500"

JavaScript

const r = await fetch('https://assets.asaplay.app/api/v1/search?q=sword&per_page=10');
const { data, total } = await r.json();
for (const it of data) console.log(it.title, it.triangles.max, it.files[0].download_url);

GDScript

# Godot 4 : télécharge le premier résultat dans user://
var http := HTTPRequest.new()
add_child(http)
http.request_completed.connect(func(_r, code, _h, body):
    var it = JSON.parse_string(body.get_string_from_utf8()).data[0]
    print(it.title, " -> ", it.files[0].download_url))
http.request("https://assets.asaplay.app/api/v1/search?q=sword&per_page=1")

C#

// Unity (C#)
using UnityEngine; using UnityEngine.Networking;
IEnumerator Search() {
  using var req = UnityWebRequest.Get("https://assets.asaplay.app/api/v1/search?q=sword&per_page=5");
  yield return req.SendWebRequest();
  Debug.Log(req.downloadHandler.text); // JSON : data[].files[].download_url
}

Limits

120 requests per minute per address (X-RateLimit-* headers), at most 100 results per page. Responses are cached (ETag): send If-None-Match to get a free 304. CORS is open for reads, no key needed.

Downloaded files are under the ASAP Standard license (commercial use in your games; no reselling of the files).

Versioning

v1 only ever grows: fields are never removed or renamed. A breaking change would ship under /api/v2.