
Your application may need to retrieve a list of EzineArticles categories or subcategories.
| Parameter | Possible Values | Purpose | Default | |
|---|---|---|---|---|
| search | categories | To indicate a request for category information. | Required | |
| category | To look up subcategories of a known category. |
The above API request will return the subcategories of the Writing and Speaking category:
| Value | Represents |
|---|---|
| name | Category name. |
| subcategory | Subcategory of the category. |
If there is a problem with your API request, an error message will be shown in the format specified by the response_format parameter or in plain text if that parameter is missing.
| Code | Meaning |
|---|---|
| 200 | The request was successful. This code will accompany a response from the API. |
| 404 | No results found. This code will accompany a message explaining that no results were found for your request. |
| 400 | The request was invalid. This code will also be sent if you have exceeded your maximum hourly requests or your API Key is invalid. |
| 500 | The API is experiencing a problem unrelated to your request that prevents it being performed at this time. |