API v1 · Developer documentation

Art Argentum API Documentation

Public Art Argentum API v1 documentation with authentication, endpoint examples, billing rules and links to each API feed.

Make your first API request

Art Argentum API v1 is an authenticated JSON API. Create an API key in the private workspace, send it as a Bearer token, then use the discovery endpoints to locate the data your application needs.

  1. Create an API key. The full aa_live_... secret is shown once.
  2. Authenticate. Send the secret in the Authorization header.
  3. Discover first. Public, Finance Media and Client YouTube discovery requests are free.
  4. Fetch source content only when needed. One concrete YouTube source JSON costs $0.01.

Authentication header

Authorization: Bearer aa_live_...

Base URL

https://art-argentum.com

Test the API in your preferred environment

The examples below perform the same read-only request to /api/v1/catalog/. Replace aa_live_... with your real key.

cURL

curl \
  -H "Authorization: Bearer aa_live_..." \
  https://art-argentum.com/api/v1/catalog/

PowerShell

$key = "aa_live_..."
$headers = @{ Authorization = "Bearer $key" }

Invoke-RestMethod `
  -Uri "https://art-argentum.com/api/v1/catalog/" `
  -Headers $headers `
  -Method GET

Python

import requests

headers = {
    "Authorization": "Bearer aa_live_..."
}

response = requests.get(
    "https://art-argentum.com/api/v1/catalog/",
    headers=headers,
    timeout=30,
)
response.raise_for_status()

print(response.json())

JavaScript

const response = await fetch(
  "https://art-argentum.com/api/v1/catalog/",
  {
    headers: {
      Authorization: "Bearer aa_live_..."
    }
  }
);

if (!response.ok) {
  throw new Error(`HTTP ${response.status}`);
}

const data = await response.json();
console.log(data);

Choose the API feed

What is free and what is billable?

Feed Operation Price
YouTube Public Categories, channels, slugs and item metadata FREE
YouTube Public One concrete source JSON $0.01
Finance Media Instrument, channel and item discovery FREE
Finance Media One concrete #market source JSON $0.01
YouTube Client Content Owned channel and material discovery FREE
YouTube Client Content One concrete private source JSON $0.01
Agent Trading Feed Trading-agent API reads Separate trading-feed policy

For YouTube feeds, displaying and downloading a source are the same billable action: both return the concrete source file. A failed authentication, missing resource or insufficient-balance response is not a successful source-file delivery.

Billing headers

A successful billable source-file response can include the following headers:

X-AA-ChargedWhether this request created a charge.
X-AA-Price-CentsPrice of this source-file request in cents.
X-AA-Balance-CentsRemaining prepaid wallet balance in cents.
X-AA-Usage-IdUsage record identifier.
X-AA-Request-IdRequest identifier useful for diagnostics and reconciliation.

Common HTTP responses

200Request succeeded.
401API key is missing, invalid or revoked.
402Prepaid balance is insufficient for a billable source request.
404Resource does not exist or is not available to this API-key owner.
405The HTTP method is not allowed for this endpoint.