# API examples (/en/realtime-media/voice/reference/api-examples)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

Agora provides open-source sample projects on GitHub to demonstrate basic and advanced Voice Calling features across supported platforms.

## Sample project repositories [#sample-project-repositories]

Use the following repositories to explore and test Voice SDK capabilities:

| Platform      | Repository                                                                                                | Notes                                                     |
| :------------ | :-------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------- |
| Web           | [AgoraIO/API-Examples-Web](https://github.com/AgoraIO/API-Examples-Web)                                   | Includes basic, advanced, plugin, and framework examples. |
| Android       | [AgoraIO/API-Examples](https://github.com/AgoraIO/API-Examples)                                           | Native Android sample projects for Voice SDK features.    |
| iOS           | [AgoraIO/API-Examples](https://github.com/AgoraIO/API-Examples)                                           | Native iOS sample projects for Voice SDK features.        |
| macOS         | [AgoraIO/API-Examples](https://github.com/AgoraIO/API-Examples)                                           | Native macOS sample projects for Voice SDK features.      |
| Windows       | [AgoraIO/API-Examples](https://github.com/AgoraIO/API-Examples)                                           | Native Windows sample projects for Voice SDK features.    |
| React Native  | [AgoraIO-Extensions/react-native-agora](https://github.com/AgoraIO-Extensions/react-native-agora)         | Example app for basic and advanced scenarios.             |
| Unity         | [AgoraIO-Extensions/Agora-Unity-Quickstart](https://github.com/AgoraIO-Extensions/Agora-Unity-Quickstart) | Includes the `API-Example-Unity` project.                 |
| Unreal Engine | [AgoraIO-Extensions/Agora-Unreal-RTC-SDK](https://github.com/AgoraIO-Extensions/Agora-Unreal-RTC-SDK)     | Includes both Blueprint and C++ API examples.             |

## Web example structure [#web-example-structure]

For Web projects, clone the repository locally:

```bash
git clone https://github.com/AgoraIO/API-Examples-Web
cd API-Examples-Web
```

The `API-Examples-Web` repository provides the following examples:

| Description              | Path                           |
| :----------------------- | :----------------------------- |
| Basic examples           | `/src/example/basic`           |
| Advanced examples        | `/src/example/advanced`        |
| Plug-in examples         | `/src/example/plugin`          |
| Other examples           | `/src/example/others`          |
| Vue framework examples   | `/src/example/framework/vue`   |
| React framework examples | `/src/example/framework/react` |

To run the Web examples:

```bash
npm install
npm run dev
```

## Native and engine example locations [#native-and-engine-example-locations]

The native and engine repositories organize examples by platform:

| Platform         | Example path                                                                                                                       |
| :--------------- | :--------------------------------------------------------------------------------------------------------------------------------- |
| React Native     | `/example/src/examples/basic`, `/example/src/examples/advanced`, `/example/src/examples/hook`                                      |
| Unity            | `/API-Example-Unity`                                                                                                               |
| Unreal Blueprint | `/Agora-Unreal-SDK-Blueprint-Example/Content/API-Example/Basic`, `/Agora-Unreal-SDK-Blueprint-Example/Content/API-Example/Advance` |
| Unreal C++       | `/Agora-Unreal-SDK-CPP-Example/Content/API-Example/Basic`, `/Agora-Unreal-SDK-CPP-Example/Content/API-Example/Advance`             |

## Next steps [#next-steps]

* For a guided setup flow, see [Run the sample project](/en/realtime-media/voice/build/set-up-your-project/compile-run-sample-project).
* For Web quickstart guidance, see [Quickstart](/en/realtime-media/voice/quickstart).
