Get Maintained Links

Get Maintained Links

Gets the list of all active links. Active links are those that have been connected and for which data has been fetched, and which have not been deleted. The list is cursor-paged; submit the next_cursor value to get the next page of links.

URL

GET
/links
Request
curl --request GET \
--url 'https://api.moneykit.com/links?cursor=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Client-Id: SOME_STRING_VALUE' \
--header 'X-Client-Secret: SOME_STRING_VALUE'
fetch("https://api.moneykit.com/links?cursor=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE", {
"method": "GET",
"headers": {
"Authorization": "Bearer REPLACE_BEARER_TOKEN",
"X-Client-Id": "SOME_STRING_VALUE",
"X-Client-Secret": "SOME_STRING_VALUE"
}
})
.then(response => response.json())
.then(data => console.log(data));
import requests

url = "https://api.moneykit.com/links?cursor=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE"
headers = {
'Authorization': 'Bearer REPLACE_BEARER_TOKEN',
'X-Client-Id': 'SOME_STRING_VALUE',
'X-Client-Secret': 'SOME_STRING_VALUE'
}

response = requests.get(url, headers=headers)
print(response.json())
package main

import (
"fmt"
"net/http"
)

func main() {
req, _ := http.NewRequest("GET", "https://api.moneykit.com/links?cursor=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE", nil)
req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN")
req.Header.Add("X-Client-Id", "SOME_STRING_VALUE")
req.Header.Add("X-Client-Secret", "SOME_STRING_VALUE")

res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()

fmt.Println(res)
}
require 'net/http'
require 'json'

uri = URI('https://api.moneykit.com/links?cursor=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

request = Net::HTTP::Get.new(uri)
request['Authorization'] = 'Bearer REPLACE_BEARER_TOKEN'
request['X-Client-Id'] = 'SOME_STRING_VALUE'
request['X-Client-Secret'] = 'SOME_STRING_VALUE'

response = http.request(request)
puts response.body
import Foundation

let url = URL(string: "https://api.moneykit.com/links?cursor=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.setValue("Bearer REPLACE_BEARER_TOKEN", forHTTPHeaderField: "Authorization")
request.setValue("SOME_STRING_VALUE", forHTTPHeaderField: "X-Client-Id")
request.setValue("SOME_STRING_VALUE", forHTTPHeaderField: "X-Client-Secret")

let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else { return }
print(String(data: data, encoding: .utf8)!)
}
task.resume()
Response
{
"links": [
{
"link_id": string,
"created_at": "2025-07-09T00:01:18.618Z"
}
],
"next_cursor": ""
}
{
"error_code": "api_error.auth.expired_access_token",
"error_message": "Access token expired",
"documentation_url": string
}
{
"error_code": "api_error.rate_limit_exceeded",
"error_message": "Rate limit exceeded",
"documentation_url": string
}

cursor

The next_cursor value from the previous batch

limit

: integer

The number of links per page.

default: 1000

X-Client-Id

: string

X-Client-Secret

: string

Your client secret

example: vzPznCv3kT7fHsAr6y3jk38d

Responses

200

Get all active links.

next_cursor

: string

429

Rate limit exceeded.

error_code

: string

default: "api_error.rate_limit_exceeded"

error_message

: string

Error message

default: "Rate limit exceeded"

documentation_url