Simple Posts API
As more and more developers turn towards front-end apps and data solutions, a solid AJAX API is key to developing a responsive, usable system of querying and modifying posts. While many solutions and plugins exist to…
Envisager une alternative
Simple Posts API shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 12 ans
- Uniquement testé jusqu'à WordPress4.0 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Simple Posts API stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| ajax | >100 |
| api | >100 |
| des postes | >100 |
| rest | >100 |
| RESTful | #84 |
Adoption de version
Part de sites actifs par version.
About Simple Posts API
À partir du Lisezmoi officiel · v1.0Description
As more and more developers turn towards front-end apps and data solutions, a solid AJAX API is key to developing
a responsive, usable system of querying and modifying posts. While many solutions and plugins exist to help set up
endpoints, often times they are cumbersome or overly opinionated. Simple Posts API provides your site with an easy-to-use,
structure RESTful API with which to query, update, and delete posts. It is relatively unopinionated, so you can store and retrieve
post metadata at will without worrying about setting up fields beforehand. Additionally, it employs native WordPress Nonces
to provide a secure structure for updating your post data.
API Endpoints
Usage
There are four main operations you can use with this plugin:
- Get
- Put
- Supprimer
- Poster
Each operation can be accessed by visiting http://yoururl.com/postsapi/OPERATION/POST_TYPE||ID You may pass a Post Type or ID as the second URL parameter depending on the operation you’re performing.
Each call must have a POST body containing a variable (nonce) containing a nonce value which WordPress will verify. There is a localized JS variable provided named secure which should be used. Some calls also allow other POST fields to be sent along with the call.
For calls which include Field data, the plugin will automatically determine which are Custom Fields and which are not.
See below for specifics on each operation.
GET
Retrieve a list of posts based on a provided Post Type or Post ID.
URL Path
http://yoururl.com/postsapi/get/POST_TYPE
Ou alors
http://yoururl.com/postapi/get/ID
POST Body
Required:
- nonce (nonce value for security)
Optional:
- arguments (an array of get_post arguments to use in the call)
Example POST body:
jQuery.post( '/postsapi/get/post', { nonce: secure, arguments : {'posts_per_page': '-1'} })
.done(function( data ) {
console.log(data);
});
Additional Notes:
The GET function returns author information for each post. If a user is logged in and has admin capabilities, the author information is extensive. If the user is not an admin, then any private information is stripped from the returned object for security purposes.
PUT
Update a post based on the provided ID and POSTed fields
URL Path
http://yoururl.com/postapi/put/ID
POST Body
Required:
- nonce (nonce value for security)
- fields (an array of key:value pairs to determine which fields to update)
Optional:
- force (boolean; if set to
false, the call will return an error if any invalid field names are passed, otherwise it will update all valid fields regardless. Default is ‘false’)
Example POST body:
jQuery.post( '/postsapi/put/1', { nonce: secure, force: false, fields: { 'post_title': 'Updated Title', 'custom_text': 'Updated custom text' } } )
.done(function( data ) {
console.log( data );
});
DELETE
Delete a post based on the provided ID
URL Path
http://yoururl.com/postapi/delete/ID
POST Body
Required:
- nonce (nonce value for security)
Optional:
- force (boolean; if set to
false, the post will be sent to the trash, otherwise it will skip the trash and be permanently deleted. Default is ‘false’)
Example POST body:
jQuery.post( '/postsapi/delete/7', { nonce: secure, force: false } )
.done(function( data ) {
console.log( data );
});
POST
Create a post of the given post type, including the provided fields
URL Path
http://yoururl.com/postapi/post/POST_TYPE
POST Body
Required:
- nonce (nonce value for security)
- fields (an array of key:value pairs to determine which fields to include when creating the post)
Optional:
- none
Example POST body:
jQuery.post( '/postsapi/post/post', { nonce: secure, fields: { 'post_title': 'New Title', 'custom_text': 'New custom text', 'post_status': 'publish' } } )
.done(function( data ) {
console.log( data );
});
Errors and Status Messages
Each call will return a JSON object. Within the JSON object is a key named status. This contains a status code and status message. You can check against this in your scripts in order to see if the call was successful or not. Any status code other than 200 is an error.
Status Codes
- 200: Success
- 400: No posts found
- 401: Permission Denied (either failed the nonce verification or user not logged in)
- 410: Invalid Post ID or Post Type provided
- 420: Post ID not found
- 430: Fields not found (status message lists fields)
- 450: Post delete failed (WordPress could not delete the post, see the status message for details)
- 460: Post type does not exist
- 470: Could not create new post; see status message for error details
Actes
Each operation has its own unique _before and _after actions that can be hooked into. See below for a complete list.
GET
postsapi_before_getpostsapi_after_get
PUT
postsapi_before_putpostsapi_after_put
DELETE
postsapi_before_deletepostsapi_after_delete
POST
postsapi_before_postpostsapi_after_post
Installation
Utilisation du tableau de bord WordPress
- Navigate to the \’Add New\’ in the plugins dashboard
- Search for ‘Simple Posts API’
- Click \’Install Now\’
- Activer le plugin sur le tableau de bord du plugin
Téléchargement dans le tableau de bord WordPress
- Navigate to the \’Add New\’ in the plugins dashboard
- Navigate to the \’Upload\’ area
- Sélectionnez
simple-posts-api.zipà partir de votre ordinateur - Click \’Install Now\’
- Activer le plugin dans le tableau de bord du plugin
Utilisation de FTP
- Télécharger
simple-posts-api.zip - Extrayez le répertoire
simple-posts-apisur votre ordinateur - Téléchargez le répertoire
simple-posts-apidans le répertoire/wp-content/plugins/ - Activer le plugin dans le tableau de bord du plugin
Journal de modifications
Version initiale
1.0
- Version initiale
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Simple Posts API alternatives
Tous les plugins Ajax →FAQ
Simple Posts API: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Simple Posts API free?
Yes. Simple Posts API is free to download and use from the official WordPress.org plugin directory.
Is Simple Posts API safe to use in 2026?
Simple Posts API shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
How many websites use Simple Posts API?
Simple Posts API is active on 10+ WordPress websites and has been downloaded 2,444 times since it launched in November 2014. It was downloaded 42 times in the last 30 days.
Does Simple Posts API work with WordPress 7.1?
Simple Posts API is officially tested up to WordPress 4.0.38, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Simple Posts API last updated?
The latest version, 1.0, was released on November 18, 2014 (12 years ago).
Who makes Simple Posts API?
Simple Posts API is developed and maintained by mr_speer.
What are the best alternatives to Simple Posts API?
The most popular alternatives to Simple Posts API are zipaddr-jp (50K+ installs), SearchWP Live Ajax Search (40K+ installs) and WP-Polls (30K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
