Overview
The Title Enhancement API is a powerful tool designed to optimize and enhance product titles for better engagement and search engine optimization (SEO). It transforms plain product titles into concise, keyword-rich, and appealing versions while adhering to specific guidelines. This API is ideal for e-commerce platforms, content creators, and marketers looking to improve product visibility and click-through rates.API Endpoint
- URL:
https://text-tad.droplinked.workers.dev/ - Method:
POST - Content-Type:
application/json
Authentication
To access the API, you need an API key. Contact Droplinked support to obtain your API key. Include the API key in the request headers as follows:- Header:
api-key - Value:
<YOUR_API_KEY>(provided by Droplinked)
Request Format
The API accepts a JSON payload with the following fields:Request Body
| Field | Type | Required | Description |
|---|---|---|---|
command_name | String | Yes | Must be set to "title" for title enhancement. |
title | String | Yes | The original product title to be enhanced. |
tone | String | Yes | The desired tone for the title (e.g., “professional”, “tech-savvy”). |
Example Request Body
Response Format
- Content-Type:
text/plain - Response: A single-line string representing the enhanced title, with no quotation marks or additional explanations.
Example Response
Guidelines for Enhanced Titles
The API follows these rules when generating enhanced titles:- Character Limit: The output title will not exceed 60 characters.
- SEO Optimization: Relevant keywords are naturally incorporated to improve searchability.
- Tone Adaptation: The title reflects the specified tone (e.g., “professional”, “tech-savvy”).
- Emojis: Relevant emojis are added only when they enhance appeal and align with the tone.
- Clean Output: No unnecessary symbols (e.g.,
**,--) or extraneous text are included.
JavaScript Example
Below is an example of how to use the Title Enhancement API in JavaScript using thefetch API:
Error Handling
- Invalid API Key: Returns an error message (e.g., “Unauthorized”).
- Missing Fields: If
command_name,title, ortoneis missing, the API may return an error or unexpected behavior. - Network Issues: Handle errors in the
.catchblock of thefetchcall.
Example Error Output
Best Practices
- Tone Selection: Choose a tone that aligns with your brand or audience (e.g., “casual”, “professional”, “fun”).
- Title Length: Provide input titles that allow room for enhancement within the 60-character limit.
- Testing: Test with various titles and tones to ensure the output meets your needs.