
The EzineArticles Application Programming Interface (API) allows developers to connect their applications to the EzineArticles database. The API gives programmers the ability to retrieve article information from any author or category. They can also create accounts and submit new articles.
The EzineArticles API can be accessed at this URL:
http://api.ezinearticles.com/api.php
Parameters marked as 'Required' must be passed with each API request.
| Parameter | Possible Values | Purpose | Default | |
|---|---|---|---|---|
| key | {your api key} | Your EzineArticles API Key. | Required | |
| response_format | xml, phpserial, json | To specify the format data should be returned in. | Required | |
| data_amount | normal, extended | To specify the amount of information to return. | normal | |
| hide_adult | true, false | To specify if adult content should be included in the results. | true |
Parameters marked as 'Required' must be passed with each API request.
| Parameter | Possible Values | Purpose | Default | |
|---|---|---|---|---|
| key | {your api key} | Your EzineArticles API Key. | Required | |
| response_format | xml, phpserial, json | To specify the format data should be returned in. | Required | |
| The email address for an EzineArticles Membership Account (Used to login to their Membership Account). | Required | |||
| pass | EzineArticles member's password associated with the email. | Required |
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. |