# Overview

The Switch API allows you to read and write information related to your organization(s). You can do things like update permissions for members in your organization, create orders, automate trading, send realtime metering data, and much more.

This section describes how to use the Switch API and its resources. If you have any questions or issues, please contact the [Switch support](mailto:support@switchmarket.se).

## API Endpoint

The Switch API can be accessed on two different environments, **Test** and **Production** environment. The API can be accessed using the following hostname, depending on the environment:

<table><thead><tr><th width="272">Environment</th><th>Hostname</th></tr></thead><tbody><tr><td>Production</td><td><code>api.switchmarket.se</code></td></tr><tr><td>Test</td><td><code>qa-api.switchmarket.se</code></td></tr></tbody></table>

{% code title="Example making request" %}

```batch
curl https://api.switchmarket.se
```

{% endcode %}

{% hint style="warning" %}
Note that both environments, Test and Production, might have the same or different version of the API deployed. Most of the time the Test environment will have newer version deployed which usually includes new functionalities, optimizations and/or bug fixes.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.switchmarket.se/switch-api/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
