# Links and card API

Read published item and recipe cards for a custom presentation.

Source: https://warcraftforever.com/developers/reference/cards/

Link to a known item with `https://warcraftforever.com/items/<id>` or a known recipe with `https://warcraftforever.com/spells/<id>`. The site redirects to its canonical named URL. These pages cover items and recipes in the current professions data; an unknown ID returns 404.

Links keep their normal browser behavior. Visitors can open them in a new tab or copy them without loading an integration script.

## Card reads

For a custom presentation, `GET /api/embed/tooltips/v1/item/<id>?locale=en&channel=beta` and the corresponding `recipe` path return our small card data as JSON with cross-origin access. Only known cards in a published channel return 200. Talent definitions and archived revisions are served as versioned static assets; the script resolves those paths for you.

If your site uses a Content Security Policy, allow scripts, styles, fonts, images and connections from `https://warcraftforever.com`, and move the inline setup to a script your policy permits. The card CSS is isolated from your page in Shadow DOM.
