# API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

## Resource types

1. [Elections](https://developers.google.com/civic-information/docs/v2#Elections)
2. [Divisions](https://developers.google.com/civic-information/docs/v2#Divisions)

## Elections

For Elections Resource details, see the [resource representation](https://developers.google.com/civic-information/docs/v2/elections#resource) page.

| Method | HTTP request | Description |
|---|---|---|
| URIs relative to https://www.googleapis.com/civicinfo/v2, unless otherwise noted |||
| [electionQuery](https://developers.google.com/civic-information/docs/v2/elections/electionQuery) | `GET /elections` | List of available elections to query. |
| [voterInfoQuery](https://developers.google.com/civic-information/docs/v2/elections/voterInfoQuery) | `GET /voterinfo` | Looks up information relevant to a voter based on the voter's registered address. <br /> **Required query parameters:** `address` |

## Divisions

For Divisions Resource details, see the [resource representation](https://developers.google.com/civic-information/docs/v2/divisions#resource) page.

| Method | HTTP request | Description |
|---|---|---|
| URIs relative to https://www.googleapis.com/civicinfo/v2, unless otherwise noted |||
| [search](https://developers.google.com/civic-information/docs/v2/divisions/search) | `GET /divisions` | Searches for political divisions by their natural name or OCD ID. |