Skip to content
GET /v1/rockets

All rockets

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/spacex-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/spacex-api/v1/rockets" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spacex-api/v1/rockets", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spacex-api/v1/rockets");
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/spacex-api/v1/rockets",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 4,
        "results": [
            {
                "id": "5e9d0d95eda69955f709d1eb",
                "name": "Falcon 1",
                "type": "rocket",
                "image": "https://imgur.com/DaCfMsj.jpg",
                "active": false,
                "stages": 2,
                "company": "SpaceX",
                "country": "Republic of the Marshall Islands",
                "mass_kg": 30146,
                "boosters": 0,
                "height_m": 22.25,
                "wikipedia": "https://en.wikipedia.org/wiki/Falcon_1",
                "description": "The Falcon 1 was an expendable launch system privately developed and manufactured by SpaceX during 2006-2009. On 28 September 2008, Falcon 1 became the first privately-developed liquid-fuel launch vehicle to go into orbit around the Earth.",
                "first_flight": "2006-03-24",
                "cost_per_launch": 6700000,
                "success_rate_pct": 40
            },
            {
                "id": "5e9d0d95eda69973a809d1ec",
                "name": "Falcon 9",
                "type": "rocket",
                "image": "https://farm1.staticflickr.com/929/28787338307_3453a11a77_b.jpg",
                "active": true,
                "stages": 2,
                "company": "SpaceX",
                "country": "United States",
                "mass_kg": 549054,
                "boosters": 0,
                "height_m": 70,
                "wikipedia": "https://en.wikipedia.org/wiki/Falcon_9",
                "description": "Falcon 9 is a two-stage rocket designed and manufactured by SpaceX for the reliable and safe transport of satellites and the Dragon spacecraft into orbit.",
                "first_flight": "2010-06-04",
                "cost_per_launch": 50000000,
                "success_rate_pct": 98
            },
            {
                "id": "5e9d0d95eda69974db09d1ed",
                "name": "Falcon Heavy",
                "type": "rocket",
                "image": "https://farm5.staticflickr.com/4599/38583829295_581f34dd84_b.jpg",
                "active": true,
                "stages": 2,
                "company": "SpaceX",
                "country": "United States",
                "mass_kg": 1420788,
                "boosters": 2,
                "height_m": 70,
                "wikipedia": "https://en.wikipedia.org/wiki/Falcon_Heavy",
                "description": "With the ability to lift into orbit over 54 metric tons (119,000 lb)--a mass equivalent to a 737 jetliner loaded with passengers, crew, luggage and fuel--Falcon Heavy can lift more than twice the payload of the next closest operational vehicle, the Delta IV Heavy, at one-third the cost.",
                "first_flight": "2018-02-06",
                "cost_per_launch": 90000000,
                "success_rate_pct": 100
            },
            {
                "id": "5e9d0d96eda699382d09d1ee",
                "name": "Starship",
              
…