Skip to main content
Developer Toolkit

Build with the
Pointify API

Integrate flight search, booking, and fare monitoring into your apps. Real-time streaming results, typed SDKs, and production-ready endpoints.

Quick Start

1

Get your API key

Sign up for a Business plan to get API access. Your key starts with pt_live_.

.env
POINTIFY_API_KEY=pt_live_your_key_here
2

Search flights

POST to /api/search with your route and dates. Results stream back via Server-Sent Events as each carrier responds.

search.ts
const res = await fetch(
  'https://api.pointifytravels.com/api/search',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer pt_live_...',
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      origin: 'JFK',
      destination: 'NRT',
      departure_date: '2026-05-15',
      passengers: 1,
      cabin_class: 'business',
      search_type: 'both', // cash + points
    }),
  }
);
3

Stream results

Read the SSE stream. Each event has a type (result, progress, complete) and a JSON data payload.

stream.ts
const reader = res.body.getReader();
const decoder = new TextDecoder();

while (true) {
  const { done, value } = await reader.read();
  if (done) break;

  const lines = decoder.decode(value).split('\n');
  for (const line of lines) {
    if (line.startsWith('data: ')) {
      const event = JSON.parse(line.slice(6));
      if (event.type === 'result') {
        console.log(event.data);
        // { price, carrier, route, ... }
      }
    }
  }
}

API Endpoints

Base URL: https://api.pointifytravels.com

POST/api/search
POST/api/book
GET/api/booking/:id
POST/api/booking/:id/cancel
POST/api/alerts
GET/api/alerts
DELETE/api/alerts/:id
GET/api/alerts/deals
GET/health
AI Integration

MCP Server

Our Model Context Protocol server lets AI assistants like Claude and ChatGPT search flights, check prices, and create bookings on behalf of users. One integration covers both platforms.

  • Works with Claude Desktop, Claude Code, and ChatGPT
  • Flight search, booking, and alert tools
  • Structured responses with pricing data
  • NPM package: @pointify/mcp-server
claude_desktop_config.json
{
  "mcpServers": {
    "pointify-travel": {
      "command": "npx",
      "args": [
        "@pointify/mcp-server"
      ],
      "env": {
        "POINTIFY_API_KEY": "pt_live_..."
      }
    }
  }
}

Webhooks

Get notified in real-time when events happen in your account.

booking.created

A new booking was created

booking.confirmed

Booking was confirmed and ticketed

booking.canceled

A booking was canceled

alert.triggered

A fare alert matched a price drop

alert.mistake_fare

A mistake fare was detected

payment.completed

Payment was successfully processed

SDKs & Libraries

Official client libraries for your language of choice.

TypeScript / tRPC

Available
@pointify/client

Type-safe client with full tRPC integration. Auto-generated types.

Python

Coming Soon
pointify-python

Async client with SSE streaming support. pip installable.

MCP Server

Available
@pointify/mcp-server

Model Context Protocol server for Claude and ChatGPT.

Ready to integrate?

Get API access with a Business plan. Need custom volume or enterprise features?

Ready to find your best fare?

Join travel professionals who never overpay for flights. Free account in 30 seconds.

Create Free Account