🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
API for Ninja Forms icon
Activement maintenu Testé avec WP 7.1

API for Ninja Forms

API for Ninja Forms is the best, most powerful, and feature-complete REST API solution for Ninja Forms. Effortlessly export and integrate your form submissions with external applications, webhooks, and analytics…

Installations actives10+10+ niveaux
Téléchargements · 30D90▲ +20% vs prev. 30d
Évaluation—0 avis
Score de santé62/100Bon
Téléchargements de tous les temps877Depuis juillet 2025
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.4PHP 8.1+
Téléchargements · 7j19▼ -17.4% week over week
Notre verdict

Choix solide

API for Ninja Forms is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 3 months ago, and scores 62/100 on our health check.

  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (plus de 10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Nécessite PHP 8.1 ou plus récent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

71523Sep 1Oct 15Nov 29
Hier0
Moyenne quotidienne (1 ans)2
Jour de pointe3115 Septembre 2026
12 Derniers mois678

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 API for Ninja Forms stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
api >100 10,000 Meilleurs plugins API →
ninja forms >100 814 Best ninja forms plugins →
NinjaForms #11 34 Best NinjaForms plugins →
API REST >100 10,000 Meilleurs plugins REST-API →

Adoption de version

Part de sites actifs par version.

  • 1.1100.0%

About API for Ninja Forms

À partir du Lisez-moi officiel · v1.1.0

Description

API for Ninja Forms is the best, most powerful, and feature-complete REST API solution for Ninja Forms. Effortlessly export and integrate your form submissions with external applications, webhooks, and analytics platforms with unparalleled speed, reliability, and security.

Whether you need automated Excel reporting, instant PDF downloads, structured JSON data feeds, or real-time data synchronization, API for Ninja Forms delivers a best-in-class integration experience built for modern developers and business workflows.

Why API for Ninja Forms is the Best Choice:

  • Forms Discovery Endpoint: Query authorized forms, submission counts, and field definitions with strict per-key access control.
  • Cursor & Offset Pagination: Seamlessly paginate large historical datasets with page/per_page or cursor sync via since_id/before_id.
  • Single Record Retrieval: Instant lookup of specific submissions (/form/{id}/submission/{sub_id}) with cross-form ownership validation.
  • Unparalleled Multi-Format Exports: Stream submissions on-demand in 6 versatile formats: JSON, Excel (XLSX), PDF document reports, CSV spreadsheets, XML, and NDJSON/JSONL.
  • Military-Grade Payload Encryption: Protect sensitive customer and form data with state-of-the-art AEAD response encryption (AES-256-GCM, AES-128-GCM, and Sodium Secretbox).
  • Advanced Rate Limiting Protection: Safeguard your server against scraping, probing, and brute-force key exploitation with admin-controlled rate limits per minute, hour, or day.
  • Granular Form Access Control: Issue form-specific API keys with instant 1-click test suite tools and single-page key management.
  • Lightning-Fast & Ultra-Optimized: Zero-overhead streaming designed for high throughput, low memory footprint, and maximum performance.

Usage

1. Authentication

Pass your API key in the standard HTTP Authorization header:
Authorization: Bearer YOUR_API_KEY

2. Available Endpoints

  • Discover Authorized Forms:
    GET /wp-json/nf-submissions/v1/forms
    Returns all forms the authenticated key is authorized to access, with total submission counts and field counts.

  • Retrieve Submissions (with Pagination & Sorting):
    GET /wp-json/nf-submissions/v1/form/{form_id}
    Query parameters:

    • page (default: 1): Page number for offset pagination.
    • per_page / limit (default: 50, max: 500): Number of records per page.
    • offset: Explicit record offset (overrides page).
    • since_id / after_id: Retrieve only submissions with ID greater than this value (cursor pagination).
    • before_id / max_id: Retrieve only submissions with ID less than this value.
    • order: asc (default) or desc.
    • orderby: date (default), id, title, or modified.
    • begin_date & end_date: Filter by submission date range (YYYY-MM-DD).
    • format: json (default), csv, xlsx, pdf, xml, or jsonl.
  • Retrieve Single Submission:
    GET /wp-json/nf-submissions/v1/form/{form_id}/submission/{submission_id}
    Returns the exact submission record. Validates that the submission belongs to the specified form.

  • Retrieve Form Field Metadata:
    GET /wp-json/nf-submissions/v1/form/{form_id}/fields
    Returns the list of field labels, keys, and types for the specified form.

3. Pagination & Headers

When retrieving submissions in JSON format, standard pagination headers are included in the response:
* X-WP-Total: Total count of matching submissions.
* X-WP-TotalPages: Total calculated pages.
* X-WP-Page: Current page number.
* X-WP-PerPage: Records per page limit.
* X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset: Rate-limiting status (if enabled).

4. Payload Encryption & Decryption

When payload encryption is enabled on an API key:
* Text Feeds (JSON, CSV, XML, JSONL): Encrypted as a JSON envelope containing iv, tag, and ciphertext.
* Binary Streams (PDF, XLSX): Delivered as raw binary (.enc extension) with cryptographic headers (X-Crypto-IV, X-Crypto-Tag, X-Crypto-Nonce, X-Crypto-Algorithm).

5. PHP Code Examples (cURL & wp_remote_get)

  • Discover Authorized Forms via Native PHP cURL:
    `php
    $ch = curl_init( ‘https://example.com/wp-json/nf-submissions/v1/forms’ );
    curl_setopt_array( $ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
    ‘Authorization: Bearer YOUR_API_KEY’,
    ‘Accept: application/json’,
    ],
    ] );
    $response = curl_exec( $ch );
    $http_status = curl_getinfo( $ch, CURLINFO_HTTP_CODE );
    curl_close( $ch );

$data = json_decode( $response, true );

// Graceful error handling for invalid API key or server error
if ( 200 !== $http_status || ! is_array( $data ) || isset( $data[‘code’] ) ) {
$error = $data[‘message’] ?? ‘Failed to retrieve forms’;
exit( “API Error ({$http_status}): {$error}\n” );
}

foreach ( $data as $form ) {
echo “Form ID: {$form[‘id’]} | Title: {$form[‘title’]} | Submissions: {$form[‘submissions_count’]}\n”;
}
`

  • Fetch Submissions via Native PHP cURL (External Apps / Scripts):
    `php
    $ch = curl_init( ‘https://example.com/wp-json/nf-submissions/v1/form/1?page=1&per_page=50’ );
    curl_setopt_array( $ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
    ‘Authorization: Bearer YOUR_API_KEY’,
    ‘Accept: application/json’,
    ],
    ] );
    $response = curl_exec( $ch );
    $http_status = curl_getinfo( $ch, CURLINFO_HTTP_CODE );
    curl_close( $ch );

$data = json_decode( $response, true );

if ( 200 !== $http_status || ! is_array( $data ) || isset( $data[‘code’] ) ) {
$error = $data[‘message’] ?? ‘Failed to retrieve submissions’;
exit( “API Error ({$http_status}): {$error}\n” );
}

$submissions = $data;
`

  • Download Binary PDF / Excel (.xlsx) File via Native PHP cURL:
    `php
    $ch = curl_init( ‘https://example.com/wp-json/nf-submissions/v1/form/1?format=pdf’ );
    curl_setopt_array( $ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTPHEADER => [
    ‘Authorization: Bearer YOUR_API_KEY’,
    ],
    ] );
    $file_contents = curl_exec( $ch );
    $http_status = curl_getinfo( $ch, CURLINFO_HTTP_CODE );
    curl_close( $ch );

if ( 200 === $http_status ) {
file_put_contents( ‘submissions.pdf’, $file_contents );
} else {
$error = json_decode( $file_contents, true );
echo “API Error ({$http_status}): ” . ( $error[‘message’] ?? ‘Download failed’ ) . “\n”;
}
`

  • Discover Authorized Forms via WordPress HTTP API (wp_remote_get):
    `php
    $response = wp_remote_get( ‘https://example.com/wp-json/nf-submissions/v1/forms’, [
    ‘headers’ => [ ‘Authorization’ => ‘Bearer YOUR_API_KEY’ ],
    ] );

if ( is_wp_error( $response ) ) {
exit( ‘Network Error: ‘ . $response->get_error_message() );
}

$status = wp_remote_retrieve_response_code( $response );
$data = json_decode( wp_remote_retrieve_body( $response ), true );

// Graceful error handling for invalid API key or server error
if ( 200 !== $status || ! is_array( $data ) || isset( $data[‘code’] ) ) {
$error = $data[‘message’] ?? ‘Failed to retrieve forms’;
exit( “API Error ({$status}): {$error}\n” );
}

foreach ( $data as $form ) {
echo “Form ID: {$form[‘id’]} | Title: {$form[‘title’]} | Submissions: {$form[‘submissions_count’]}\n”;
}
`

  • Fetch Submissions via WordPress HTTP API (wp_remote_get):
    `php
    $response = wp_remote_get( ‘https://example.com/wp-json/nf-submissions/v1/form/1’, [
    ‘headers’ => [ ‘Authorization’ => ‘Bearer YOUR_API_KEY’ ],
    ] );

if ( is_wp_error( $response ) ) {
exit( ‘Network Error: ‘ . $response->get_error_message() );
}

$status = wp_remote_retrieve_response_code( $response );
$data = json_decode( wp_remote_retrieve_body( $response ), true );

if ( 200 !== $status || ! is_array( $data ) || isset( $data[‘code’] ) ) {
$error = $data[‘message’] ?? ‘Failed to retrieve submissions’;
exit( “API Error ({$status}): {$error}\n” );
}

$submissions = $data;
`

Third-Party Resources

This plugin bundles and utilizes the following open-source library:

Soutien

For support and feature requests, please visit https://sightfactory.com

Installation

  1. Download the plugin ZIP file.
  2. Upload the extracted folder to the /wp-content/plugins/ directory.
  3. Activez le plugin via le menu "plugins" dans WordPress.
  4. Generate a REST API key by navigating to Settings > NF API Keys.
  5. Make authenticated REST requests by including the header: Authorization: Bearer YOUR_API_KEY.

Journal de modifications

IMPORTANT: 1) GET /form/{id} now defaults to 50 records per page (use ?limit=500 or pagination headers for more). 2) date_submitted now returns standard SQL datetime (YYYY-MM-DD HH:MM:SS) instead of localized text. Verify external integrations before updating.

1.1.0

  • Added export format support for XLSX (Microsoft Excel), CSV, XML, and NDJSON/JSONL.
  • Added record limit support (?limit=N) for pagination and performance control.
  • Implemented real-time browser Web Crypto decryption preview for encrypted feeds.
  • Updated Setasign/FPDF library to version 1.9.0.
  • Enhanced security, superglobal unslashing, and full WP Plugin Check compliance.

1.0.1

Bugfix

1.0.0

Communiqué public initial

Journal des modifications complet sur WordPress.org →

Captures d'écran

Granular API key management with per-form access controls, expiration dates, and rate limits.
Granular API key management with per-form access controls, expiration dates, and rate…
End-to-end response payload encryption (AES-256-GCM & Sodium Secretbox) with secret key controls.
End-to-end response payload encryption (AES-256-GCM & Sodium Secretbox) with secret key…
Interactive developer documentation with ready-to-use PHP, JavaScript, and cURL examples.
Interactive developer documentation with ready-to-use PHP, JavaScript, and cURL examples.

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.

Badge d'installations actives Badge Badge de score de santé

Best API for Ninja Forms alternatives

Tous les plugins API →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Consentement WP API Consentement WP API Consentement simple API Pour lire et enregistrer la catégorie de consentement actuelle. par Rogier Lankhorst 300K+ ★★★★★★★★★★ 5 (2) il y a 7 jours 76
2 Désactiver le repos API Désactiver le repos API Désactivez l'utilisation du reste API sur votre site Web aux utilisateurs du site. Maintenant, avec le support des rôles d'utilisateur ! par Dave McHale 80K+ ★★★★★★★★★★ 4.8 (38) Il y a 3 ans 37
3 Mailgun pour WordPress Mailgun pour WordPress Envoyez facilement des e-mails depuis votre site WordPress via Mailgun à l'aide du HTTP API ou SMTP. par Mailgun 70K+ ★★★★★★★★★★ 3.8 (49) Il y a 2 mois 81
4 Fabriquer un connecteur Fabriquer un connecteur Créer un connecteur. Make vous permet de concevoir, de créer et d'automatiser en vous connectant avec WordPress dans… par faire 70K+ ★★★★★★★★★★ 2.9 (27) il y a 4 semaines 70
5 Désactiver le repos WP API Désactiver le repos WP API Désactive le WP REST API pour les visiteurs non connectés à WordPress. de Jeff Starr 30K+ ★★★★★★★★★★ 4.8 (36) il y a 4 mois 84
6 Cache de repos WP Cache de repos WP Activez la mise en cache du WordPress REST API et des caches de vidage automatique lors de l'édition WP-Admin. par Acato 10K+ ★★★★★★★★★★ 4.9 (42) il y a 4 jours 89
7 WPGraphQL pour ACF WPGraphQL pour ACF WPGraphQL pour ACF intègre de manière transparente des champs personnalisés avancés avec WPGraphQL. de Jason Bahl 10K+ ★★★★★★★★★★ 5 (1) il y a 6 jours 75
8 WPGET API – Connexion à n'importe quel repos externe API WPGET API – Connexion à n'importe quel repos externe API Connectez n'importe quel repos API à WordPress. WPGET API permet une intégration facile API, vous permettant de… par David Anderson / Updraft de l'équipe 10K+ ★★★★★★★★★★ 5 (32) Il y a 2 semaines 94
9 WordPress Reste API (version 2) WordPress Reste API (version 2) Accédez aux données de votre site via un REST HTTP facile à utiliser API. (version 2) Par Ryan McCue 10K+ ★★★★★★★★★★ 4.2 (34) il y a 9 ans 43
10 WP Rest API Contrôleur WP Rest API Contrôleur Activez une interface utilisateur pour basculer la visibilité et personnaliser les propriétés dans les requêtes WP Rest API. par Evan Herman 7K+ ★★★★★★★★★★ 4.3 (12) Il y a 4 ans 38

FAQ

API for Ninja Forms: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is API for Ninja Forms free?

Yes. API for Ninja Forms is free to download and use from the official WordPress.org plugin directory.

Is API for Ninja Forms safe to use in 2026?

API for Ninja Forms is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 3 months ago, and scores 62/100 on our health check.

How many websites use API for Ninja Forms?

API for Ninja Forms is active on 10+ WordPress websites and has been downloaded 877 times since it launched in July 2025. It was downloaded 90 times in the last 30 days.

Does API for Ninja Forms work with WordPress 7.1?

Yes. The developer has tested API for Ninja Forms up to WordPress 7.1.5, the latest release. It requires WordPress 6.4 or newer.

What PHP version does API for Ninja Forms need?

API for Ninja Forms requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was API for Ninja Forms last updated?

The latest version, 1.1.0, was released on September 15, 2026 (3 months ago).

Who makes API for Ninja Forms?

API for Ninja Forms is developed and maintained by sightfactory.

What are the best alternatives to API for Ninja Forms?

The most popular alternatives to API for Ninja Forms are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ 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

↑↓ bouger↵ ouvrir