---
title: Pipes API endpoints reference
meta:
    description: The Pipes API helps you manage your Pipes. Use the API Endpoints service to publish or unpublish your Pipes as API Endpoints.
headingMaxLevels: 2
---

# Pipes API endpoint service

{% snippet title="api-region-reminder" /%}

{% snippet title="pipes-api-snippet" /%}

{% callout type="caution" %}
Adding or modifying pipes or data sources in [Tinybird Local](/forward/install-tinybird/local) and [Tinybird Forward](/forward) can only be done through deployments.
{% /callout %}

## API Endpoints

{% api_reference api="pipe-node-endpoint" /%}

## Response Formats

API Endpoints support multiple response formats, which can be specified by appending the format extension to the endpoint URL:

- `.json` - Returns data in JSON format (default)
- `.csv` - Returns data in CSV format
- `.csvwithnames` - Returns data in CSV format with column headers
- `.prometheus` - Returns data in Prometheus format (requires specific data structure)

```shell {% title="Examples of endpoints with different formats" %}
{% user("apiHost") %}/v0/pipes/your_pipe_name.json
{% user("apiHost") %}/v0/pipes/your_pipe_name.csv
{% user("apiHost") %}/v0/pipes/your_pipe_name.prometheus
```
