/v1/spacecraft
A spacecraft by name or uid
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/startrek-api/v1/spacecraft" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/startrek-api/v1/spacecraft", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/startrek-api/v1/spacecraft");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/startrek-api/v1/spacecraft",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"page": 0,
"count": 23,
"query": "Enterprise",
"total": 23,
"results": [
{
"uid": "SRMA0000001640",
"name": "Enterprise",
"class": "NX class",
"owner": "United Earth",
"status": "Preserved",
"operator": "Military Assault Command Operations",
"registry": "NX-01"
},
{
"uid": "SRMA0000004190",
"name": "Enterprise",
"class": "Space shuttle orbiter",
"owner": null,
"status": "Retired",
"operator": "National Aeronautics and Space Administration",
"registry": "OV-101"
},
{
"uid": "SRMA0000174858",
"name": "Enterprise shuttle 1",
"class": "Takayama type shuttlecraft",
"owner": null,
"status": "Destroyed",
"operator": null,
"registry": "1"
},
{
"uid": "SRMA0000124678",
"name": "Enterprise shuttle 2",
"class": "Moore type shuttlecraft",
"owner": null,
"status": "Active",
"operator": null,
"registry": "2"
},
{
"uid": "SRMA0000148790",
"name": "Enterprise shuttle 37",
"class": null,
"owner": null,
"status": "Active",
"operator": null,
"registry": "37"
},
{
"uid": "SRMA0000174860",
"name": "Enterprise shuttle 7",
"class": "Takayama type shuttlecraft",
"owner": null,
"status": "Active",
"operator": null,
"registry": "7"
},
{
"uid": "SRMA0000115439",
"name": "Enterprise shuttle 89",
"class": "Military shuttle",
"owner": null,
"status": "Destroyed",
"operator": null,
"registry": "89"
},
{
"uid": "SRMA0000013851",
"name": "Enterprise-D shuttlecraft 13",
"class": "Type 7 shuttlecraft",
"owner": null,
"status": "Destroyed",
"operator": null,
"registry": "13"
},
{
"uid": "SRMA0000069603",
"name": "Enterprise-D shuttlepod 01",
"class": "Type 15 shuttlepod",
"owner": null,
"status": "Active",
"operator": null,
"registry": "01"
},
{
"uid": "SRMA0000004259",
"name": "ISS
…