JSON feeds
Show the items of any address that answers JSON: a website's or shop's API, a JSON Feed, a no-code tool's endpoint.
On this page
Overview: Show any JSON feed.
Connect it
- Open Content and press Add a source, then pick JSON Feed.
- Paste the address that answers the JSON. You can leave out
https://.
TileSet only reads public https addresses: not http, an IP address, a custom port or a private host, and it follows at most 3 redirects. The JSON can be up to 2 MB and 32 levels deep. A WordPress site’s /wp-json/wp/v2/posts address works with no mapping.
What is fetched
TileSet finds the list of items: the top level when it is a list, or the list under items, data, results or entries (also one level down, like data.items), or a JSON Feed 1.1 document. It then reads each item’s fields by their usual names: title or name, text, body, content or description, image or thumbnail, url or link, date or published, author and rating. HTML inside a field is read as plain text.
The first 24 items are kept, in the order the JSON lists them. Pictures load from the address they name, https only.
Both templates work (see Templates): Posts for every item as a card (a rating from 1 to 5 shows as stars, the title is the card’s heading with the author under it, the date links to the item), Photos and videos for the items with a picture.
Mapping the fields
If your JSON uses other names, say which field is which.
In the dashboard: on the connect form, paste the address and press Map fields first. If we cannot read the JSON by its usual names, the same dialog opens by itself. For a source you already have, press Map fields on its page. The dialog shows the list path and a dropdown for Title, Text, Picture, Link, Date, Author and Rating, filled with the fields your JSON has, and the first three cards as they will read. Change a dropdown and the cards update. Automatic means we pick by the usual names. Press Save fields (or Connect with these fields). A saved change reaches the widget at the source’s next update; press Update now (Starter and up) to see it at once; on Free it shows at the next daily update.
With your AI agent or the API: give mapping to connect_source or setup_widget (see MCP tools), or in the body of POST /v1/sources (see REST basics). To change one on a source you already have, use update_source with mapping, or PATCH /v1/sources/:id. Either way the JSON is read once to check the mapping before it is saved:
{ "items": "data.posts", "title": "name", "text": "body", "image": "cover.url", "link": "url", "date": "published" }
The keys are items (the path to the list, empty for the top level), title, text, image, link, date, author and rating. A value is a key or a dotted path such as cover.url or title.rendered. Any field you leave out is detected. Reconnecting the same address with a new mapping replaces the stored one, and list_sources shows the mapping in use. An empty mapping ({}) goes back to detecting everything.
If it will not connect
- No list found. In the dashboard, Map fields opens and asks where the list is (for example
data.posts). The API message says which places it looked and what the top level has. - No text to show. Pick the field that holds the words for Text. The API message names the fields it did find and suggests a mapping like
{"text": "body"}. - A mapped field is missing. The dialog says which part (for example Text) points at a field the JSON does not have and asks you to pick another or choose Automatic. The API message names the field and the fields the first item does have.
- Not JSON, too large, or not reachable. The message says why. The address must answer JSON in public.
How often it updates
Every hour at the fastest on Starter and up (daily on Free), slower steps down to weekly. See Update speed and schedules.
Reconnecting
Nothing to reconnect. If the address moves, remove the source and connect the new one. If it stops answering JSON, the source’s page says so and the widget keeps its last items.