> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.getedulead.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.getedulead.com/_mcp/server.

# ListBeaconInstitutions

GET https://api.getedulead.com/v4/beacons/{beacon_id}/institutions

ListBeaconInstitutions pages through a beacon's institutions, most recently added first
 unless order_by says otherwise, each with its current name, NCES id, type and state.

Reference: https://docs.getedulead.com/api-reference/beacons/list-institutions

## Authentication

- `Authorization` header (bearer token, required) — A team API key, sent as `Authorization: Bearer <key>`.
- `Authorization` header (bearer token, required) — The Cognito access token of a signed-in Edulead user (`edulead auth login`), sent as `Authorization: Bearer <token>`.

## Request

### Path parameters

- `beacon_id` (string, required) — The beacon.

### Query parameters

- `page_size` (integer, optional) — Number of items per page, at most the maximum shown. Omitted or 0 means the RPC's default page size.
- `page_token` (string, optional) — Opaque token from a previous response; empty for the first page.
- `order_by` (enum, optional) — Sort order: a sortable field name, optionally followed by " desc". The allowed values are listed.
  - Allowed values: ``, `create_time desc`, `create_time`

## Response

### 200

Success

- `items` (list of edulead.v4.BeaconInstitution, optional) — The page of results, in the requested order.
- `next_page_token` (string, optional) — Token for the next page; empty when this is the last page.

## Types

### edulead.v4.BeaconInstitution

BeaconInstitution is one institution of a beacon, with its catalogue fields as they are now. id is the Edulead institution id; create_time is when it was added to the beacon.

- `id` (string, optional) — Identifier of the resource, assigned by Edulead and opaque to callers.
- `beacon_id` (string, optional)
- `nces_id` (string, optional) — The NCES id (a district, school or private-school id); empty for an institution without one.
- `name` (string, optional)
- `type` (enum, optional) — InstitutionType is what kind of institution it is.
  - Allowed values: `INSTITUTION_TYPE_UNSPECIFIED`, `INSTITUTION_TYPE_DISTRICT`, `INSTITUTION_TYPE_SCHOOL`, `INSTITUTION_TYPE_AGENCY`, `INSTITUTION_TYPE_UNION`, `INSTITUTION_TYPE_PARENT_ORG`, `INSTITUTION_TYPE_SELPA`
- `state` (string, optional) — The two-letter state code.
- `creator_id` (string, optional) — The user or API key that added it.
- `create_time` (datetime, optional) — When Edulead created the resource.

## Examples

**Response**

```json
{
  "items": [
    {
      "id": "string",
      "beacon_id": "string",
      "nces_id": "string",
      "name": "string",
      "type": "INSTITUTION_TYPE_UNSPECIFIED",
      "state": "string",
      "creator_id": "string",
      "create_time": "2023-01-15T01:30:15.01Z"
    }
  ],
  "next_page_token": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.getedulead.com/v4/beacons/beacon_id/institutions"

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.getedulead.com/v4/beacons/beacon_id/institutions';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.getedulead.com/v4/beacons/beacon_id/institutions"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.getedulead.com/v4/beacons/beacon_id/institutions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.getedulead.com/v4/beacons/beacon_id/institutions")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.getedulead.com/v4/beacons/beacon_id/institutions', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.getedulead.com/v4/beacons/beacon_id/institutions");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.getedulead.com/v4/beacons/beacon_id/institutions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```