Skip navigation
REST › spotlight.list

spotlight.list

GET/spotlight

What the home page spotlights right now in one language: courses, featured pieces, referral programs and other links, in display order, at most six. With kind, only that kind, at most 24. No key needed.

Parameters

ParameterInDescription
localequeryRequired. vi or en.
kindqueryOptional. course, article, referral or link. For example referral for every live partner offer.

Request

curl
curl "https://api.modernengineer.dev/spotlight?locale=vi"

Response

200 OK · application/json
{
  "items": [
    {
      "id": "0b5c…",
      "kind": "article",
      "title": "Bắt đầu với Claude Code và ClaudeKit",
      "href": "/vi/library/claudekit-beginners-guide",
      "blurb": null,
      "badge": "Mới",
      "readingMinutes": 22,
      "external": false,
      "price": null
    },
    {
      "id": "7e21…",
      "kind": "referral",
      "title": "…",
      "href": "https://…",
      "blurb": "…",
      "badge": "-20%",
      "readingMinutes": null,
      "external": true,
      "price": {
        "amount": 99,
        "listAmount": null,
        "currency": "USD",
        "percentOff": 20,
        "amountOff": null,
        "discountedAmount": 79.2,
        "tiers": []
      }
    }
  ]
}

Errors

StatusErrorWhen
400invalid_inputA parameter is missing or invalid, for example a locale other than vi or en.

In MCP