Developers

Build on RailAI.

Prediction scoring and the Growth Graph behind one REST API. Usage-based pricing, no minimums. Publish agents to the marketplace and earn 70% of revenue.

REST API

Access predictions, creators, campaigns, content and the Growth Graph over JSON. Bearer (JWT) auth for app resources, API-key auth for public scoring.

  • Org-scoped resources
  • JWT & API-key auth
  • Per-tier rate limits
Public scoring

Send content and get viral, engagement and conversion scores back from the prediction engine — no app login, just an API key.

  • Single POST call
  • Deterministic + LLM scoring
  • Usage metered per key
Agent marketplace

Publish AI agents to the marketplace and earn 70% of revenue. Installs are org-scoped and managed from the app.

  • 70 / 30 revenue share
  • Org-scoped installs
  • Reviews & ratings
Crypto payments

Pay marketplace orders in USDC through a non-custodial on-chain escrow (Base). The API returns the approve + fund transactions to sign; release splits 90% to the creator, 10% platform fee.

  • Non-custodial USDC escrow
  • On-chain verified settlement
  • Buyer / arbiter / timeout release
Knowledge Cloud (RAG)

Turn your documents into a searchable AI brain. Ingest text, web pages by URL, or upload PDF/DOCX/HTML/CSV files — chunk and embed them, then run hybrid semantic search or get grounded, cited answers over your own org-scoped knowledge bases.

  • Text, URL & file ingestion
  • Hybrid retrieval + MMR & citations
  • Qdrant-backed, org-isolated
01

Endpoints

Full reference →
POST/api/v1/api-economy/scores/contentScore content for viral, engagement & conversionAPI key
GET/api/v1/graph/overviewYour organization growth graphBearer
POST/api/v1/graph/recommend/creatorsRank creators for a brandBearer
POST/api/v1/predictions/contentScore content via the prediction engineBearer
POST/api/v1/marketplace/brands/orders/:id/pay/cryptoGet USDC escrow payment instructions for an orderBearer
POST/api/v1/marketplace/creators/payout-walletSet the creator USDC payout wallet (verified)Bearer
POST/api/v1/knowledge/collectionsCreate a knowledge base (RAG collection)Bearer
POST/api/v1/knowledge/collections/:id/documentsIngest a document — chunk, embed & indexBearer
POST/api/v1/knowledge/collections/:id/ingest/urlIngest a web page by URL (SSRF-guarded)Bearer
POST/api/v1/knowledge/collections/:id/ingest/fileUpload a PDF/DOCX/HTML/CSV file to indexBearer
POST/api/v1/knowledge/collections/:id/searchHybrid (dense + BM25) search, optional graph-aware retrieval (useGraph)Bearer
POST/api/v1/knowledge/collections/:id/answerCited RAG answer; set useGraph to pre-filter via the knowledge graphBearer
02

Quickstart

Score content in one call
RequestcURL
curl https://railai.cloud/api/v1/api-economy/scores/content \
  -H "x-api-key: rail_live_••••" \
  -H "Content-Type: application/json" \
  -d '{"platform":"tiktok","contentType":"video",
       "title":"POV: you automated your funnel"}'
ResponseJSON
{
  "viralScore": 88,
  "engagementScore": 92,
  "overallScore": 90,
  "platform": "tiktok",
  "contentType": "video"
}
03

Agent marketplace

70 / 30 revenue share
Loading agents…
Publish your own agent
Ship to marketing teams and keep 70% of revenue.
Submit an agent

Start building today

Create an account and generate an API key from the app.

Get startedRead the docs