Research
nLab logo

nLab API

ncatlab.org

nLab - math and physics wiki entries, articles, and citation metadata.

Actions
3
Category
Research
Login
Not required
Output
JSON

Call the nLab API

Submit a task, then poll the job until it settles. This example runs act_ncatlab_nlab_search_results.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_ncatlab_nlab_search_results",
    "params": {
      "search_query": "homotopy"
    }
  }'

3 actions on ncatlab.org

Read

  • Article Search

    act_ncatlab_nlab_search_resultsread1 credit / call

    Returns wiki articles matching a math or physics search term, with titles and URLs.

    search_query
    string · required
  • Homepage

    act_ncatlab_nlab_homepageread1 credit / call

    Returns homepage topic entries, navigation labels, and featured wiki links.

  • Wiki Article

    act_ncatlab_wiki_article_detailread1 credit / call

    Returns a wiki article with title, summary, body, references, and related concepts.

    article_slug
    string · required

nLab API questions

Is there an API for nLab?
nLab does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for ncatlab.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape nLab data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when ncatlab.org changes its markup, Anakin updates the action.
Do I need a nLab account?
No. Every nLab action listed here runs anonymously — no account and no credentials required.
What does the nLab API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Research APIs

All Research sites