> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Public endpoint

This API is a traffic-optimized endpoint to push data to AppSignal that is not sent through the [AppSignal agent](/appsignal/how-appsignal-operates#agent).

<h2 id="base-url">
  Base URL
</h2>

```shell Shell theme={null}
https://appsignal-endpoint.net
```

<h2 id="authentication">
  Authentication
</h2>

Authentication is done with a Public endpoint (or Front-end) API key, which can be found in [App settings](https://appsignal.com/redirect-to/app?to=info).

<h2 id="url-parameters">
  URL Parameters
</h2>

| Parameters | Type | Description |
| - | - | - |
| api\_key | String | **Front-end** API key, can be found in [App settings](https://appsignal.com/redirect-to/app?to=info). |

Full example:

```shell Shell theme={null}
https://appsignal-endpoint.net/metrics/statsd?api_key=<api_key>
```

<Tip>
  **Note**: This endpoint is optimized for large amounts of traffic and does not
  validate the API key or payload, a `200` (`OK`) response is returned when the
  body size is within the `200k` limit. This doesn't mean the request is
  accepted when received.
</Tip>

<h2 id="endpoints">
  Endpoints
</h2>

This API exposes the following endpoints:

* [StatsD Metrics](/api/public-endpoint/statsd) Send (batched) StatsD-formatted metrics to AppSignal.
* [JSON Metrics](/api/public-endpoint/json-metrics) Send (batched) JSON-formatted metrics to AppSignal.
* [Errors](/api/public-endpoint/errors) Send Errors to AppSignal.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.