Data Feeds
List the data sources on a data feed
Returns the sources attached to a data feed, oldest first, including each source’s config and fetch state. credentials are never returned. Requires the read:data_feed token scope.
GET
/
data_feeds
/
{data_feed_friendly_id}
/
sources
List the data sources on a data feed
curl --request GET \
--url https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources \
--header 'Authorization: <api-key>'import requests
url = "https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "dsrc_aBcD1234eFgH5678",
"name": "Warehouse readings",
"source_type": "sql",
"description": "<string>",
"config": {},
"state": {
"cursor_value": "2026-01-02T00:00:00Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"info": {
"items": 2,
"page_size": 20,
"total_items": 2,
"current_page": 1,
"next_page": 123,
"previous_page": 123,
"total_pages": 1,
"sort": [
{
"field": "<string>",
"direction": "asc"
}
],
"filter": [
{
"field": "<string>",
"comparator": "eq",
"value": "<unknown>"
}
],
"fields": [
"<string>"
]
}
}{
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>",
"blocking": [
{
"type": "<string>",
"friendly_id": "<string>",
"name": "<string>"
}
],
"blocking_count": 123,
"config_key": "<string>",
"count": 123,
"value": "<unknown>"
}
]
}{
"errors": [
{
"message": "API token has expired"
}
]
}{
"errors": [
{
"message": "You are not authorized to perform this action"
}
]
}{
"errors": [
{
"message": "Data feed not found"
}
]
}Authorizations
Path Parameters
The data feed's friendly ID (e.g. datafd_aBcD1234eFgH5678).
Query Parameters
The page to return, starting at 1. A value below 1 or a non-numeric value returns 400.
Required range:
x >= 1Rows per page, from 1 to 200. A value below 1 counts as 1 and a value above 200 as 200; a non-numeric value uses the default.
Required range:
1 <= x <= 200⌘I
List the data sources on a data feed
curl --request GET \
--url https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources \
--header 'Authorization: <api-key>'import requests
url = "https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.gomangrove.com/api/v1/data_feeds/{data_feed_friendly_id}/sources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "dsrc_aBcD1234eFgH5678",
"name": "Warehouse readings",
"source_type": "sql",
"description": "<string>",
"config": {},
"state": {
"cursor_value": "2026-01-02T00:00:00Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"info": {
"items": 2,
"page_size": 20,
"total_items": 2,
"current_page": 1,
"next_page": 123,
"previous_page": 123,
"total_pages": 1,
"sort": [
{
"field": "<string>",
"direction": "asc"
}
],
"filter": [
{
"field": "<string>",
"comparator": "eq",
"value": "<unknown>"
}
],
"fields": [
"<string>"
]
}
}{
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>",
"blocking": [
{
"type": "<string>",
"friendly_id": "<string>",
"name": "<string>"
}
],
"blocking_count": 123,
"config_key": "<string>",
"count": 123,
"value": "<unknown>"
}
]
}{
"errors": [
{
"message": "API token has expired"
}
]
}{
"errors": [
{
"message": "You are not authorized to perform this action"
}
]
}{
"errors": [
{
"message": "Data feed not found"
}
]
}