Title: Random API Generator
Author: yogesha
Published: <strong>September 18, 2025</strong>
Last modified: January 19, 2026

---

Search plugins

![](https://ps.w.org/random-api-generator/assets/banner-772x250.png?rev=3364318)

![](https://ps.w.org/random-api-generator/assets/icon-256x256.png?rev=3363820)

# Random API Generator

 By [yogesha](https://profiles.wordpress.org/yogesha/)

[Download](https://downloads.wordpress.org/plugin/random-api-generator.1.0.0.zip)

 * [Details](https://pcd.wordpress.org/plugins/random-api-generator/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/random-api-generator/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/random-api-generator/#installation)
 * [Development](https://pcd.wordpress.org/plugins/random-api-generator/#developers)

 [Support](https://wordpress.org/support/plugin/random-api-generator/)

## Description

Add a fun developer utility to your site. Each click draws a curated random public
API inspired by weekly selections on https://www.freepublicapis.com/ and shows:

 * API name, category, and summary
 * A copyable endpoint URL
 * Sample JavaScript and WordPress PHP snippets

Features:
 – Gutenberg block and `[randapigen_api_generator]` shortcode – Admin 
setting to restrict categories – Local favorites (browser localStorage)

## Screenshots

 * [[
 * Settings page with category selection
 * [[
 * Frontend widget showing a drawn API and snippets

## Blocks

This plugin provides 1 block.

 *   Draw me an API Button that draws a random public API and shows snippets.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/` or install via the Plugins screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Optional: Go to Settings  Random API Generator to select allowed categories.
 4. Add the block “Draw me an API” or the `[randapigen_api_generator]` shortcode.

## FAQ

### Where does the data come from?

From a curated built-in list inspired by https://www.freepublicapis.com/. You can
filter categories in Settings.

### Does it store personal data?

No. Favorites are stored locally in the visitor’s browser.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Random API Generator” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ yogesha ](https://profiles.wordpress.org/yogesha/)

[Translate “Random API Generator” into your language.](https://translate.wordpress.org/projects/wp-plugins/random-api-generator)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/random-api-generator/),
check out the [SVN repository](https://plugins.svn.wordpress.org/random-api-generator/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/random-api-generator/)
by [RSS](https://plugins.trac.wordpress.org/log/random-api-generator/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **3 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/random-api-generator/)
 * Tags
 * [api](https://pcd.wordpress.org/plugins/tags/api/)[block](https://pcd.wordpress.org/plugins/tags/block/)
   [random](https://pcd.wordpress.org/plugins/tags/random/)[shortcode](https://pcd.wordpress.org/plugins/tags/shortcode/)
   [utilities](https://pcd.wordpress.org/plugins/tags/utilities/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/random-api-generator/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/random-api-generator/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/random-api-generator/reviews/)

## Contributors

 *   [ yogesha ](https://profiles.wordpress.org/yogesha/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/random-api-generator/)