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 - ll.thespacedevs.com/docs

GET /2.3.0/agencies/?format=api&mode=list&offset=290
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 337,
    "next": "https://ll.thespacedevs.com/2.3.0/agencies/?format=api&limit=10&mode=list&offset=300",
    "previous": "https://ll.thespacedevs.com/2.3.0/agencies/?format=api&limit=10&mode=list&offset=280",
    "results": [
        {
            "response_mode": "list",
            "id": 64,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/64/?format=api",
            "name": "Sri Lanka Space Agency",
            "abbrev": "SLSA",
            "type": {
                "id": 1,
                "name": "Government"
            }
        },
        {
            "response_mode": "list",
            "id": 244,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/244/?format=api",
            "name": "Star One",
            "abbrev": "STA1",
            "type": {
                "id": 3,
                "name": "Commercial"
            }
        },
        {
            "response_mode": "list",
            "id": 123,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/123/?format=api",
            "name": "Starsem SA",
            "abbrev": "SSA",
            "type": {
                "id": 3,
                "name": "Commercial"
            }
        },
        {
            "response_mode": "list",
            "id": 1048,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/1048/?format=api",
            "name": "Stoke Space",
            "abbrev": "Stoke",
            "type": {
                "id": 5,
                "name": "Private"
            }
        },
        {
            "response_mode": "list",
            "id": 270,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/270/?format=api",
            "name": "Strategic Rocket Forces",
            "abbrev": "RVSN RF",
            "type": {
                "id": 1,
                "name": "Government"
            }
        },
        {
            "response_mode": "list",
            "id": 107,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/107/?format=api",
            "name": "Surrey Satellite Technology Ltd",
            "abbrev": "SSTL",
            "type": {
                "id": 3,
                "name": "Commercial"
            }
        },
        {
            "response_mode": "list",
            "id": 108,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/108/?format=api",
            "name": "Swales Aerospace",
            "abbrev": "SA",
            "type": {
                "id": 3,
                "name": "Commercial"
            }
        },
        {
            "response_mode": "list",
            "id": 76,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/76/?format=api",
            "name": "Swedish National Space Board",
            "abbrev": "SNSB",
            "type": {
                "id": 1,
                "name": "Government"
            }
        },
        {
            "response_mode": "list",
            "id": 151,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/151/?format=api",
            "name": "Swedish Space Corp",
            "abbrev": "SSC",
            "type": {
                "id": 3,
                "name": "Commercial"
            }
        },
        {
            "response_mode": "list",
            "id": 71,
            "url": "https://ll.thespacedevs.com/2.3.0/agencies/71/?format=api",
            "name": "Swiss Space Office",
            "abbrev": "SSO",
            "type": {
                "id": 1,
                "name": "Government"
            }
        }
    ]
}