Frequently Asked Questions
Everything you need to know about building Elasticsearch-backed REST APIs with SearchAPI. Can't find your answer? Contact us.
Getting Started
What is SearchAPI?
SearchAPI is a no-code platform that turns your data into a production-ready REST API backed by Elasticsearch. You define models and endpoints in the dashboard, and SearchAPI generates the API, its authentication and its Swagger documentation for you.
Learn more →
Do I need to know Elasticsearch or write code to use SearchAPI?
No. Normally querying Elasticsearch means writing JSON Query DSL by hand; SearchAPI generates those queries for you. Searching, filtering, sorting and pagination are exposed as simple URL query parameters on every endpoint.
Learn more →
Do I need my own Elasticsearch cluster?
No. Every API uses the Elasticsearch cluster hosted by SearchAPI by default. If you already run Elasticsearch, you can connect your own self-managed or Elastic Cloud cluster with a username and password or an API key instead.
Learn more →
Can I build a backend for my app without writing backend code?
Yes. Endpoints support GET, POST, PUT, PATCH and DELETE, so a web or mobile app can list, search, create, update and delete records through the generated REST API. You define the data model in the dashboard instead of writing and hosting server code.
Learn more →
Can I change my subdomain later?
No. Your subdomain is part of every API URL, so it is permanently locked once you confirm it. Choose it carefully before creating your first API.
Learn more →Your Data
Which file formats can I import into SearchAPI?
CSV and Excel (XLSX) files, ZIP and TAR archives that contain one of them, MySQL dumps (.sql) and JSON documents (.json), each up to 100 MB. A CSV or Excel file creates one new model or updates an existing one; a MySQL dump or JSON document creates one model per table or collection, with relations between them.
Learn more →
Can I migrate my MySQL database to SearchAPI?
Yes. SQL Import reads a mysqldump file of up to 100 MB and turns every table into a model with its own endpoints and Elasticsearch index. Foreign keys become relations between models, and many-to-many join tables become nested fields.
Learn more →
Can I export my data from SearchAPI?
Yes. Any model can be exported as CSV, JSON or SQL at any time from the Data UI. The SQL export contains CREATE TABLE and INSERT statements that load straight into a MySQL-compatible database, so your data is never locked in.
Learn more →
Can I model relations between my data, like products and brands?
Yes. A field of type object links a record to a record of another model, such as a product to its brand, and a nested field holds a list of related records, such as a product's tags. The related data is embedded in the record, so a single request returns it.
Learn more →
Does SearchAPI support hierarchical data such as category trees?
Yes. Mark a model as self-referencing and each record can point to a parent record of the same model through parent_id. SearchAPI keeps the chain of ancestors for every record, which suits categories with subcategories, folders or org charts.
Learn more →
Can I add and edit records without writing code?
Yes. The Data UI lets you browse, search, create, edit and delete the records of a deployed model directly in the dashboard.
Learn more →Search & Relevance
How can I control the ranking of search results?
With field boosts. Each searchable field can get a weight, so a match on a field with boost 3 counts three times as much as a match on a field with the default weight of 1. For example, matches on name can rank above matches on description. Boosts can be changed even after an API version is deployed.
Learn more →
Does SearchAPI support faceted search and filters with counts?
Yes. Enable aggregations on a GET list endpoint and the response includes, for each selected field, its distinct values with the number of matching records, such as how many products each brand has. This is what you need to build filter menus with counts.
Learn more →Using Your API
How do I send requests to my SearchAPI endpoints?
Every endpoint lives at https://{subdomain}.searchapi.net/{api-path}/{version}/{endpoint-path} and requires an X-API-KEY header. List endpoints support full-text search with q, exact and range filters, sorting and field selection with includes and excludes.
Learn more →
Can I use SearchAPI as a mock API for frontend development?
Yes. Import sample data, deploy an API version and your frontend team can build against real REST responses, with search, filters and pagination, before your own backend or production data is ready. Later you can import the real data or create a new version.
Learn more →
How do I control who can access my API?
Access is granted per API key and per endpoint, so a key can be allowed to read with GET but not to write with PUT or DELETE. Requests without a valid key are rejected, and you can grant a key access to a single API version or to all versions at once.
Learn more →
Can I change my API without breaking existing integrations?
Yes. Each API version is an independent snapshot with its own URL segment such as v1 or v2, and a deployed version is locked. When you deploy a new version, records are copied from the previous version automatically while existing clients keep using the old one.
Learn more →
Does SearchAPI generate API documentation?
Yes. Every deployed API version gets an OpenAPI 3.0 (Swagger) document that you can view, download or share with your team. Endpoints can be tested directly in the browser from that document.
Learn more →
Can I manage SearchAPI with an AI assistant like Claude or Cursor?
Yes. SearchAPI runs an MCP (Model Context Protocol) server, so assistants such as Claude Code, Cursor and Gemini CLI can create models, APIs, endpoints and API keys and deploy versions in plain language. It authenticates with a personal access token from your account settings.
Learn more →Plans & Support
Is there a free plan?
Yes. Every new workspace starts on the free Starter plan, and paid plans with higher API, model, data and daily request limits are available monthly or yearly. Payments are processed by Stripe, and Enterprise plans with custom limits are available on request.
Learn more →
What happens if I exceed my daily request limit?
You receive email notifications when your workspace reaches 90%, 100% and 110% of its daily request limit. At 110%, API calls are blocked until the daily counter resets, or until you upgrade to a plan with a higher limit.
Learn more →
What happens if my paid subscription is canceled?
Your workspace moves to the free Starter plan when the subscription ends. If a payment fails, you can resolve it before the subscription is suspended.
Learn more →
Can my team work in the same workspace?
Yes. You can invite team members with one of three roles. The Owner manages everything, Managers handle team members, billing and company settings, and Users work with models, APIs and data.
Learn more →
Can I get help from Elasticsearch experts?
Yes. Besides the self-serve platform, the SearchAPI team offers Elasticsearch consulting, cluster implementation, search relevancy tuning and 24/7 support, based on nearly 12 years of Elasticsearch experience.
Learn more →HOW CAN WE HELP?
CONTACT US
Get in Touch