Excerpt
For a card, a link preview, or a short blurb. Start with Getting started. This route does not fetch a page.
GET /v1/excerpt keeps your words and stops on a space. It does not add an ellipsis. If the first word is longer than the limit, the answer is does not fit rather than a cut through the middle of a word.
Try it
https://fetch.li/v1/excerpt?text=Market%20day%20in%20the%20square&max=40
Parameters
| Name | Required | Notes |
|---|---|---|
| text | yes | Max 2000 characters |
| max | no | 20 to 500. Default 160 |
Related
Title length for the 155 character description budget. Also style and demo.
Try it
GET https://fetch.li/v1/excerpt
Answer
Response