API

Your data. Any model.

One call returns everything flat. No pagination. No joins. Every client, contract, file, and platform stat, raw JSON, ready for any AI model or automation.

1
Call to get everything
5
Total commands
30 min
Min refresh interval
Any
AI model compatible
1, Data Structure

Everything returned in a single call. Colours denote data type, no headers needed.

1 Basic Details
2 Files & Contracts
3 Outreach
{
  "user":         "you@domain.com",
  "client_count": 12,
  "clients": [{
    "name":               "Acme Corp",
    "email":              "hi@acme.com",
    "industry":           "SaaS",
    "join_date":          "2025-11-01",
    "notes":              "Follow up Q1. Decision maker is Sarah.",
    "delivery_freq_days": 30,
    "sent":               false,
    "contracts": [{
      "name": "contract.pdf",
      "url":  "https://files.titanlineco.com/...",
      "text": "This agreement is entered into between Acme Corp and... payment terms net 30. Deliverables defined in Schedule A."
    }],
    "files": [{
      "name": "brief.pdf",
      "url":  "https://files.titanlineco.com/...",
      "text": "Project brief: redesign onboarding. Target 40% drop-off reduction. Launch Q2."
    }]
  }],
  "platform_count": 3,
  "platforms": [{
    "name":       "LinkedIn",
    "account":    "@yourhandle",
    "total":      4200,
    "follow_ups": 180,
    "interest":   42,
    "ready":      8
  }]
}
2, n8n

HTTP Request node with Header Auth. Query field accepts JSON body for write operations.

HTTP Request · Pull all clients
Authentication
Header Auth
Credential for Header Auth
Name: Authorization    Value: Bearer YOUR_KEY
HTTP Request Method
GET
Endpoint
https://titanlineco.com/api/data?add=clients,platforms
Request Format
JSON (Recommended)
HTTP Request · Add a client
Authentication
Header Auth
Credential for Header Auth
Name: Authorization    Value: Bearer YOUR_KEY
HTTP Request Method
POST
Endpoint
https://titanlineco.com/api/clients/add
Request Format
JSON (Recommended)
Query
{ "name": "{{ $json.name }}", "email": "{{ $json.email }}" }
HTTP Request · Remove a client
HTTP Request Method
POST
Endpoint
https://titanlineco.com/api/clients/remove
Query
{ "name": "{{ $json.name }}" }
3, Python / IDE

Full closed circuit. Data pulled from Titanline, written to file, loaded as knowledge base, queried via model.

imports
import prime
import requests, json, os
api request → titanline_data.txt
KEY  = "YOUR_KEY"
BASE = "https://titanlineco.com/api"
H    = {"Authorization": f"Bearer {KEY}"}

data = requests.get(f"{BASE}/data?add=clients,platforms", headers=H).json()

with open("titanline_data.txt", "w") as f:
    f.write(json.dumps(data, indent=2))
knowledge base
def knowledge_base(path="titanline_data.txt"):
    with open(path) as f:
        return f.read()
generate via prompt
def generate_via_prompt(prompt):
    context = knowledge_base()
    return prime.chat(
        system = f"Client data:\n\n{context}",
        prompt = prompt
    )

print(generate_via_prompt("Which clients are overdue for delivery?"))
GET /api/data?add=clients,platformstitanline_data.txt
knowledge_base()context string
generate_via_prompt()model response
4, Terminal

Missed a sync window? Download a full snapshot straight to a file and catch up.

Download snapshot

Pulls everything to a local file. Feed it manually into any model or audit a specific period.

curl "https://titanlineco.com/api/data?add=clients,platforms" \
-H "Authorization: Bearer YOUR_KEY" >> clients.txt
Sync Intervals
ClientsInterval
0 – 506 hours
51 – 5003 hours
501 – 10,00060 min
10,000+30 min

Loads once on login. Writes are immediate. Background refresh only fires when the tab is visible. Snapshot diff, if nothing changed, zero re-render.

Ready to connect your data?

Subscribe to get your API key from the Settings panel.

Get started
Privacy Policy