Products

APIs built for developers

Each product is independently deployable with its own SDK, documentation, and dashboard. Use them individually or compose them into powerful workflows.

AI Pipeline API

Orchestrate complex AI workflows with a single API call

Chain multiple LLM providers, embed models, and custom logic into fault-tolerant pipelines. Built-in observability, cost tracking, and automatic failover ensure your AI features never go down.

Use Cases

  • Content generation pipelines with review stages
  • RAG (Retrieval Augmented Generation) workflows
  • Multi-model evaluation and routing
  • Automated data enrichment
Avg Latency < 200ms overhead
Supported Models 30+ LLMs
Max Pipeline Steps 50
Concurrent Pipelines Unlimited
example.js
import { OKRobot } from '@ok-robot/sdk'

const client = new OKRobot({ apiKey: process.env.OK_ROBOT_KEY })

const pipeline = client.pipeline.create({
  name: 'content-review',
  steps: [
    { type: 'llm', model: 'gpt-4o', prompt: 'Generate...' },
    { type: 'llm', model: 'claude-sonnet', prompt: 'Review...' },
    { type: 'condition', check: 'score > 0.8' },
    { type: 'webhook', url: 'https://your-app.com/publish' },
  ],
  fallback: { model: 'gpt-4o-mini' },
})

const result = await pipeline.run({ topic: 'AI trends' })

Data Transform API

Turn messy data into structured gold

Feed any data format — CSV, JSON, XML, PDFs, images, even free text — and get back clean, validated, structured output matching your target schema. AI-powered inference handles edge cases that rule-based systems miss.

Use Cases

  • ETL pipeline preprocessing
  • Invoice and receipt parsing
  • Legacy data migration
  • API response normalization
Avg Latency < 50ms (cached)
Input Formats 50+
Max Payload 100MB
Accuracy 99.2%
example.js
import { OKRobot } from '@ok-robot/sdk'

const client = new OKRobot({ apiKey: process.env.OK_ROBOT_KEY })

// Transform messy CSV to structured JSON
const result = await client.transform({
  input: rawCsvData,
  inputType: 'csv',
  schema: {
    name: 'string',
    email: 'email',
    amount: 'currency(USD)',
    date: 'iso8601',
  },
  options: {
    inferMissing: true,
    validateEmail: true,
    deduplicateOn: 'email',
  }
})

console.log(result.data)     // Clean structured array
console.log(result.warnings) // Any issues found

Web3 Bridge API

One API for every chain

Interact with smart contracts, query token data, and stream events across Ethereum, Polygon, Arbitrum, Solana, and more — all through a unified REST and WebSocket interface. No web3 library sprawl required.

Use Cases

  • Portfolio tracking across chains
  • DeFi protocol integration
  • NFT marketplace backends
  • Cross-chain transaction monitoring
Supported Chains 12+
Block Lag < 2 blocks
WebSocket Streams Unlimited
Historical Data Full archive
example.js
import { OKRobot } from '@ok-robot/sdk'

const client = new OKRobot({ apiKey: process.env.OK_ROBOT_KEY })

// Get token balance across all chains
const balances = await client.web3.balances({
  address: '0x1234...abcd',
  chains: ['ethereum', 'polygon', 'arbitrum'],
  tokens: ['USDC', 'WETH'],
})

// Stream real-time events
const stream = client.web3.stream({
  chain: 'ethereum',
  contract: '0xdead...beef',
  events: ['Transfer', 'Approval'],
})

stream.on('event', (e) => console.log(e))

Ready to build something great?

Get your free API key and start making requests in under 2 minutes. No credit card, no commitment.