Modes

Levels of detail in the response - list, normal, detailed

Example - /agencies/?mode=list

Filters

Parameters - abbrev, abbrev__contains, attempted_landings, attempted_landings__gt, attempted_landings__gte, attempted_landings__lt, attempted_landings__lte, consecutive_successful_landings, consecutive_successful_landings__gt, consecutive_successful_landings__gte, consecutive_successful_landings__lt, consecutive_successful_landings__lte, consecutive_successful_launches, consecutive_successful_launches__gt, consecutive_successful_launches__gte, consecutive_successful_launches__lt, consecutive_successful_launches__lte, country_code, description, description__contains, failed_landings, failed_landings__gt, failed_landings__gte, failed_landings__lt, failed_landings__lte, failed_launches, failed_launches__gt, failed_launches__gte, failed_launches__lt, failed_launches__lte, featured, founding_year, founding_year__gt, founding_year__gte, founding_year__lt, founding_year__lte, id, name, name__contains, parent__id, pending_launches, pending_launches__gt, pending_launches__gte, pending_launches__lt, pending_launches__lte, spacecraft, successful_landings, successful_landings__gt, successful_landings__gte, successful_landings__lt, successful_landings__lte, successful_launches, successful_launches__gt, successful_launches__gte, successful_launches__lt, successful_launches__lte, total_launch_count, total_launch_count__gt, total_launch_count__gte, total_launch_count__lt, total_launch_count__lte, type__id

Example - /agencies/?abbrev=NASA

Fields searched - abbrev, name

Example - /agencies/?search=SpaceX

Ordering

Fields - attempted_landings, consecutive_successful_landings, consecutive_successful_launches, failed_landings, failed_launches, featured, id, name, pending_launches, successful_landings, successful_launches, total_launch_count

Example - /agencies/?ordering=-total_launch_count

Number of results

Use limit to control the number of objects in the response (max 100)

Example - /agencies/?limit=2

Format

Switch to JSON output - /agencies/?format=json

Help

Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs

GET /2.3.0/agencies/191/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "response_mode": "detailed",
    "id": 191,
    "url": "https://lldev.thespacedevs.com/2.3.0/agencies/191/?format=api",
    "name": "United Space Alliance",
    "abbrev": "USA",
    "type": {
        "id": 3,
        "name": "Commercial"
    },
    "featured": false,
    "country": [
        {
            "id": 2,
            "name": "United States of America",
            "alpha_2_code": "US",
            "alpha_3_code": "USA",
            "nationality_name": "American",
            "nationality_name_composed": "Americano"
        }
    ],
    "description": "United Space Alliance (USA) is a spaceflight operations company. USA is a joint venture which was established in August 1995 as a Limited Liability Company (LLC), equally owned by Boeing and Lockheed Martin.",
    "administrator": null,
    "founding_year": 1995,
    "launchers": "Space Shuttle",
    "spacecraft": "",
    "parent": null,
    "image": {
        "id": 31,
        "name": "[AUTO] United Space Alliance - image",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520space2520alliance_image_20190830220958.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305184709.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "logo": {
        "id": 192,
        "name": "[AUTO] United Space Alliance - logo",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520space2520alliance_logo_20190830220958.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185150.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "social_logo": {
        "id": 98,
        "name": "[AUTO] United Space Alliance - social_logo",
        "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/united2520space2520alliance_nation_20190830220958.jpg",
        "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305184854.jpeg",
        "credit": null,
        "license": {
            "id": 1,
            "name": "Unknown",
            "priority": 9,
            "link": null
        },
        "single_use": true,
        "variants": []
    },
    "total_launch_count": 51,
    "consecutive_successful_launches": 22,
    "successful_launches": 50,
    "failed_launches": 1,
    "pending_launches": 0,
    "consecutive_successful_landings": 0,
    "successful_landings": 0,
    "failed_landings": 0,
    "attempted_landings": 0,
    "successful_landings_spacecraft": 0,
    "failed_landings_spacecraft": 0,
    "attempted_landings_spacecraft": 0,
    "successful_landings_payload": 0,
    "failed_landings_payload": 0,
    "attempted_landings_payload": 0,
    "info_url": "http://www.unitedspacealliance.com/",
    "wiki_url": "https://en.wikipedia.org/wiki/United_Space_Alliance",
    "social_media_links": [],
    "launcher_list": [],
    "spacecraft_list": []
}