On this page

Quickstart

Discover a dataset, create a key and retrieve your first source-linked result.

Discover available data

The dataset catalog is public and consumes zero trial operations. Use the operation catalog to check which identifiers the live trial accepts.

cURL
curl -fsS https://moogili.com/datasets.json
Python
import json
from urllib.request import urlopen

with urlopen("https://moogili.com/datasets.json", timeout=10) as response:
    print(json.dumps(json.load(response), indent=2))
JavaScript
const response = await fetch("https://moogili.com/datasets.json");
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(JSON.stringify(await response.json(), null, 2));

Create and verify an account

Verify your email to get 100 free operations across REST, MCP and the playground. If you already have an account, sign in with the same email.

Authentication and API keys

Create a Trial API Key in API keys. Copy it when it appears and store it in your application’s secret manager or set MOOGILI_EVALUATION_KEY in the local environment. Send the key in Authorization: Bearer YOUR_KEY over HTTPS. Keep it out of source control, browser JavaScript, URLs and logs.

Trial keys expire after seven days. Renewing a key keeps your remaining operations. Rotating a key invalidates the previous key.

Make your first operation

Look up the sampled CMS certification number 455001. A successful call uses one free operation. Run the snippets in a terminal or Node.js, or try the browser playground when signed in.

cURL
curl --fail-with-body https://moogili.com/evaluation/v1/query \
  -H "Authorization: Bearer $MOOGILI_EVALUATION_KEY" \
  -H "Content-Type: application/json" \
  --data '{"operation": "facility_lookup", "identifier": "455001"}'
Python
import json
import os
from urllib.request import Request, urlopen

key = os.environ["MOOGILI_EVALUATION_KEY"]
payload = json.dumps({"operation": "facility_lookup", "identifier": "455001"}).encode()
request = Request("https://moogili.com/evaluation/v1/query", data=payload, headers={
    "Authorization": f"Bearer {key}",
    "Content-Type": "application/json",
})
with urlopen(request, timeout=10) as response:
    print(json.dumps(json.load(response), indent=2))
JavaScript
const key = process.env.MOOGILI_EVALUATION_KEY;
if (!key) throw new Error("Set MOOGILI_EVALUATION_KEY");
const response = await fetch("https://moogili.com/evaluation/v1/query", {
  method: "POST",
  headers: {Authorization: `Bearer ${key}`, "Content-Type": "application/json"},
  body: JSON.stringify({"operation": "facility_lookup", "identifier": "455001"}),
  signal: AbortSignal.timeout(10_000),
});
if (!response.ok) {
  throw new Error(`HTTP ${response.status}: ${await response.text()}`);
}
console.log(JSON.stringify(await response.json(), null, 2));

Read the response

The example shows selected fields from a dated production response. The full response includes allowance.remaining and release identifiers used to verify and cite the result.

JSON
{
  "operation": "facility_lookup",
  "identifier": "455001",
  "bundle_built_at": "2026-11-26T21:12:53.644283+00:00",
  "result": {
    "facility": {
      "ccn": "455001",
      "certified_beds": 214,
      "state": "TX"
    },
    "cms_processing_date": "2026-10-01"
  }
}

See response field definitions, or connect an MCP client to use the same allowance.