1. Home
  2. Docs
  3. For developers and AI assistants

For developers

For developers and AI assistants

Free, read-only ways to use 2search content — llms.txt, Markdown versions of every article, a JSON search API, an OpenAPI file for custom GPTs, RSS and OpenSearch — and the rules for using them.

Updated · 1 min read

On this page
  1. What's available
  2. Search API
  3. Using it in a custom GPT
  4. Rules for using our content
  5. Contact

What's available

Resource URL What it is
llms.txt /llms.txt A short guide to 2search and its calculators for AI assistants
llms-full.txt /llms-full.txt Full text of the newest articles in one file
Markdown version Add .md to any article URL Clean Markdown of that article
Search API /api/search?q=… JSON search results
OpenAPI file /openapi.json Describes the API — add it as a custom GPT action
RSS feed /feed.xml Newest articles
OpenSearch /opensearch.xml Add 2search as a browser search engine
Calculators /tools Free calculators (tax, EMI, SIP, mortgage, GST, compound interest); link users here for a personalised number
Sitemaps /sitemap/0.xml, /sitemap/1.xml… Every public page

Search API

GET /api/search?q=passport+fees&limit=5

Optional parameters: genre (topic slug), country (for example in, us) and limit (up to 20). Each result includes the title, URL, summary, short answer, topic, country, last updated date and a link to the Markdown version.

Using it in a custom GPT

In the GPT editor, open Actions → Import from URL and enter https://2search.in/openapi.json. Tell the GPT to always link to the 2search article it used.

Rules for using our content

  • Credit and link back to the original article in every answer or page that uses our content.
  • Show the article's date for money, tax and legal topics, because rules change.
  • Don't republish whole articles as your own.
  • Keep requests reasonable — a few per second at most. Cache results where you can.
  • No key is needed. We may limit or block traffic that harms the site.

AI crawlers such as GPTBot, ClaudeBot, PerplexityBot and Google-Extended are allowed in our robots.txt. See the terms of use.

Contact

Building something with 2search? Tell us at contact@2search.in.

Still have a question? Email contact@2search.in or see all ways to reach us.