E-shop Product
Input
Mode
Heading style
Text options
Output
Ingredients: rooibos (88.5 %)*, cocoa nibs (6 %)*, natural flavor (5 %), vanilla pods (0.5 %)*
* organic
Storage: Store the tea in a dry and cool place, do not expose to direct sunlight.
<p><strong>Ingredients:</strong> rooibos (88.5 %)*, cocoa nibs (6 %)*, natural flavor (5 %), vanilla pods (0.5 %)*</p> <p>* organic</p> <p><strong>Storage:</strong> Store the tea in a dry and cool place, do not expose to direct sunlight.</p>
API Call Example
curl -X POST "https://api.textformatter.pro/v1/format" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
--data-binary @- <<'JSON'
{
"text": "Ingredients: rooibos (88.5%)*, cocoa nibs (6%)*, natural flavor (5%), vanilla pods (0.5%)* *organic Storage: Store the tea in a dry and cool place, do not expose to direct sunlight.",
"mode": "ecommerce",
"output": "html",
"options": {
"detectHeadings": false,
"detectLists": false,
"detectColonLabels": true,
"splitAfterSentenceEnd": false,
"nutritionBlockParsing": false
},
"transforms": {}
}
JSONResponse shape
{
"data": {
"output": "<p>...</p>",
"format": "html"
},
"meta": {
"wordsProcessed": 42
}
}Request payload
{
"text": "Ingredients: rooibos (88.5%)*, cocoa nibs (6%)*, natural flavor (5%), vanilla pods (0.5%)* *organic Storage: Store the tea in a dry and cool place, do not expose to direct sunlight.",
"mode": "ecommerce",
"output": "html",
"options": {
"detectHeadings": false,
"detectLists": false,
"detectColonLabels": true,
"splitAfterSentenceEnd": false,
"nutritionBlockParsing": false
},
"transforms": {}
}Don't have an API key yet?
Get one and start formatting thousands of words with no charges.
Plain Text
Web