# Liner > Liner is an AI research and search company. People use Liner to search, > read and organise sources; developers use the Liner API for web and > scholarly search, grounded answers, deep research, visualization and > OpenAI-compatible LLM APIs. Instructions for AI agents: - Full text of every API document in one file: https://liner.com/llms-full.txt - Base URL for all APIs: https://platform.liner.com/api/v1 - Create an API key at https://platform.liner.com - Authentication differs by API. The Search, Agent, Visualization and Actions APIs take the key in an `x-api-key` header. The Router API takes `Authorization: Bearer ` so OpenAI SDKs work unchanged, and also accepts `x-api-key` on direct HTTP calls. - The Router API supports OpenAI Responses and Chat Completions. Use the model name `liner-mark`, which always points to the latest version (currently `liner-mark-1.3`). `liner-gemini-router` (currently `liner-gemini-router-1.1`) routes each request to a Google Gemini model. `liner-gpt-router` (currently `liner-gpt-router-1.0`) routes each request to an OpenAI GPT model, and `liner-claude-router` (currently `liner-claude-router-1.0`) to an Anthropic Claude model. `GET /v1/models` lists the models you can call. Point an existing OpenAI client at the base URL above, then change the API key and the model name. It does not search the web; pair it with the Search API or the Search Agent API when you need live sources. - MCP server: https://platform.liner.com/api/v1/mcp Endpoints, relative to https://platform.liner.com/api/v1 | API | Path | | --- | --- | | Router API — Responses | POST /responses | | Router API — Chat Completions | POST /chat/completions | | Web Search | POST /tools/search/web | | Scholar Search | POST /tools/search/scholar | | Visualization | POST /tools/visualization | | Quick Answer Agent | POST /agents/quick-answer | | Search Agent | POST /agents/search | | Deep Research Agent | POST /agents/deep-research | ## Products - [Liner](https://liner.com): AI search and research assistant for the web. - [Scholar MCP](https://liner.com/mcp/scholar): Liner's scholarly search as an MCP server. - [Developers](https://liner.com/developers): Liner API overview and playground. - [Pricing](https://liner.com/pricing): Plans for the Liner app. - [Support](https://support.liner.com/hc/en-us): Help centre. ## Get started - [Overview](https://liner.com/developers/docs): Build with Liner's real-time AI search engine, designed to turn live web information into evidence-backed answers users can trust. - [Quick start](https://liner.com/developers/docs/quick-start): Create an API key and make your first request in minutes. - [Pricing](https://liner.com/developers/docs/pricing): Liner API provides usage-based (pay-as-you-go) pricing. - [Rate limits](https://liner.com/developers/docs/rate-limits): Rate limits help keep the Liner API reliable and fair for everyone. Limits may vary by API and plan, and may be adjusted over time. ## Router API - [Quick start](https://liner.com/developers/docs/router-api): Set up the OpenAI SDK and send your first request. - [GPT Router](https://liner.com/developers/docs/llm-gpt-router): The models and routing_strategy values, billing, parameters, image input, prompt cache, and token limits of liner-gpt-router. - [Claude Router](https://liner.com/developers/docs/llm-claude-router): The models and routing_strategy values, billing, parameters, image input, prompt cache, and token limits of liner-claude-router. - [Gemini Router](https://liner.com/developers/docs/llm-gemini-router): The models and routing_strategy values, billing, versions, parameters, and image input of liner-gemini-router. - [Mark Router](https://liner.com/developers/docs/llm-mark-router): Versions, aliases, billing, and token limits of liner-mark. - [Responses](https://liner.com/developers/docs/liner-model-api-responses): Request fields, response objects, streaming events, and compatibility for POST /responses. - [Chat Completions](https://liner.com/developers/docs/liner-model-api-chat-completions): Request fields, messages, function calling, streaming, and compatibility for POST /chat/completions. - [Images](https://liner.com/developers/docs/liner-model-api-images): Request fields, base64 image response, long-running requests, and billing for POST /images/generations. - [Videos](https://liner.com/developers/docs/liner-model-api-videos): Request fields, status polling, file download, and billing for POST /videos. - [Embeddings](https://liner.com/developers/docs/liner-model-api-embeddings): Request fields, text-only input, response, and billing for POST /embeddings. - [Rerank](https://liner.com/developers/docs/liner-model-api-rerank): Request fields, ranked results, and billing for POST /rerank. - [Audio transcriptions](https://liner.com/developers/docs/liner-model-api-audio-transcriptions): Multipart upload, supported audio formats, size limit, and billing for POST /audio/transcriptions. - [Audio speech](https://liner.com/developers/docs/liner-model-api-audio-speech): Request fields, voices, default PCM output, and billing for POST /audio/speech. ## Tools API - [Search API](https://liner.com/developers/docs/search-api): Real-time, high-signal web and scholarly search delivered as structured JSON, with titles, snippets, URLs, and publication dates ready to plug into your own pipeline. Web mode includes Premium Data tables by default ($2 per 1,000 requests; send `include_knowledge: false` for web results only at $1) across seven categories: company metrics (financials, earnings estimates, M&A, venture funding, web traffic), stocks (prices and market data from global exchanges), economics (employment, trade, energy, government spending), prices and rates (crypto, FX, commodities, inflation, treasury yields), politics and reference (polls, prediction markets, demographics), sports (live scores and results for major leagues), and weather (current, forecast, historical). Data sources include S&P Global (https://www.spglobal.com), Semrush (https://www.semrush.com), AccuWeather (https://www.accuweather.com), Cboe (https://www.cboe.com), The World Bank (https://www.worldbank.org), Sportradar (https://sportradar.com), BIS (https://www.bis.org), and YouGov (https://yougov.com). - [Visualization API](https://liner.com/developers/docs/visualization-api): Turn a natural-language query into an interactive HTML visualization, streamed over SSE. Render the returned atlasArtifact.html directly in an iframe srcdoc. ## Agent API - [Quick Answer API](https://liner.com/developers/docs/quick-answer-agent-api): A fast, grounded Q&A endpoint streamed over Server-Sent Events (SSE), accompanied by the web references the answer was built on. - [AI Search API](https://liner.com/developers/docs/search-agent-api): A fully grounded answer experience streamed over Server-Sent Events (SSE), complete with inline citations, reference chunks, and typed events compatible with the Vercel AI SDK envelope. - [Deep Research API](https://liner.com/developers/docs/deep-research-agent-api): An autonomous research pipeline that combines web and scholarly retrieval with multi-step reasoning, streaming a structured, citation-rich report over Server-Sent Events. - [Visual Answer Agent API](https://liner.com/developers/docs/visual-answer-agent-api): Liner's AI Search Pro agent streams a searched-and-reasoned answer together with an interactive HTML visualization over SSE. You receive the answer text, an insertion position (atlasInsertionPosition), and the visualization (atlasArtifact). ## MCP - [Liner Search MCP](https://liner.com/developers/docs/mcp): Connect MCP-compatible assistants and IDEs to Liner's web, scholarly, legal, finance, medical, and business search tools. - [Legal Search MCP](https://liner.com/developers/docs/mcp/legal): The Search MCP tool for questions about laws, court decisions, regulations, and permits. - [Finance Search MCP](https://liner.com/developers/docs/mcp/finance): The Search MCP tool for filings, earnings, tax rules, and economic indicators. - [Medical Search MCP](https://liner.com/developers/docs/mcp/medical): The Search MCP tool for clinical guidelines, drug approvals, and clinical trials. - [Business Research MCP](https://liner.com/developers/docs/mcp/business): The Search MCP tool for researching a company, a counterparty, a supplier, or a market. - [Scholar Search MCP](https://liner.com/developers/docs/mcp/scholar): The Search MCP tool for finding papers and checking claims and figures inside them. ## Actions API - [Build AI agents that act for every user](https://liner.com/developers/docs/actions-api-overview): Give your product secure, user-isolated access to actions across third-party apps without storing provider credentials or maintaining every integration yourself. - [Quick start](https://liner.com/developers/docs/actions-api-quick-start): Set up an Actions environment and run a real read Action for one of your end users without guessing an Action ID or provider-specific argument. - [How to Build AI Agents That Take Action Across Apps](https://liner.com/developers/docs/actions-api-guides-llm-tools): Discover Actions, validate model tool calls, confirm risky work, and safely continue after connection or account selection. ## Optional Actions API endpoint reference. Skip these unless you are calling a specific endpoint. - [Execute an action](https://liner.com/developers/docs/actions-api-actions-execute): Run one Action with structured arguments, handle all seven outcomes, and safely resume after account connection. - [List actions](https://liner.com/developers/docs/actions-api-actions-list): List every Action available to one end user in this Environment, including unadded ActionSets, with its current executability and unavailable reasons. - [Retrieve an action](https://liner.com/developers/docs/actions-api-actions-retrieve): Read one Action in full for one end user, including the input schema your model fills in and the trust and health signals you decide with. - [Search actions](https://liner.com/developers/docs/actions-api-actions-search): Find Actions for one end user from a natural language query, scoped to the ActionSets that user has already added. - [Turn an action on or off](https://liner.com/developers/docs/actions-api-actions-toggle): Flip one end user's own switch for a single Action, so your settings screen can let that person decide which tools your agent may reach for. - [List connections](https://liner.com/developers/docs/actions-api-connections-list): Read every connection one end user already has in this environment, across all ActionSets. - [Set the default connection](https://liner.com/developers/docs/actions-api-connections-set-default): Pick which account wins when one end user has more than one connection on the same service. - [Start a connection](https://liner.com/developers/docs/actions-api-connections-start): Add an ActionSet for one end user directly or through a hosted authorization flow, then complete the authenticated connection. - [Enable or disable a connection](https://liner.com/developers/docs/actions-api-connections-toggle): Flip one connection between active and disabled without deleting it or touching the stored credential. - [Create a delegated token](https://liner.com/developers/docs/actions-api-delegated-tokens-create): Mint a short-lived Bearer token that is pinned to one PlatformUser, so a client you do not control can call the Actions API without ever holding your environment API key. - [List environment actions](https://liner.com/developers/docs/actions-api-environment-tools-list-actions): List every Action the environment offers across all added ActionSets, with the reason each one is blocked, and optionally a per-user availability view. - [List ActionSets](https://liner.com/developers/docs/actions-api-environment-tools-list-actionsets): List the ActionSets an admin has added to your environment, with their Action counts and their READ / WRITE policy. - [Retrieve an environment action](https://liner.com/developers/docs/actions-api-environment-tools-retrieve-action): Retrieve one Action and its current state in the environment, optionally with the per-user availability fields. - [Retrieve an ActionSet](https://liner.com/developers/docs/actions-api-environment-tools-retrieve-actionset): Retrieve one added ActionSet together with the Actions it brings into the environment, including each Action's on/off state. - [Turn an environment action on or off](https://liner.com/developers/docs/actions-api-environment-tools-toggle-action): Set the environment-level override for one Action, withdrawing it from everyone in the environment or restoring it. - [Create a user](https://liner.com/developers/docs/actions-api-users-create): Register one of your end users inside a Liner Actions environment and get back a stable pusr_ id that owns their connections and Action scopes. - [Delete a user](https://liner.com/developers/docs/actions-api-users-delete): Soft delete one PlatformUser, which hides it from the list, makes it a 404 on read, and frees its externalUserId for reuse. - [List users](https://liner.com/developers/docs/actions-api-users-list): Page through the PlatformUsers in one environment newest first, filter by your own identifier, and read the per-row connection count and last activity. - [Retrieve a user](https://liner.com/developers/docs/actions-api-users-retrieve): Read one PlatformUser by the pusr_ id Liner assigned, including its current scopes and status.