PHPackages                             lewisdonovan/acf-fields-to-wp-rest-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lewisdonovan/acf-fields-to-wp-rest-api

ActiveWordpress-plugin

lewisdonovan/acf-fields-to-wp-rest-api
======================================

Programmatically add data from Advanced Custom Fields to the Wordpress REST API.

5972810[1 issues](https://github.com/lewisdonovan/acf-fields-to-wp-rest-api/issues)PHP

Since Aug 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lewisdonovan/acf-fields-to-wp-rest-api)[ Packagist](https://packagist.org/packages/lewisdonovan/acf-fields-to-wp-rest-api)[ RSS](/packages/lewisdonovan-acf-fields-to-wp-rest-api/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

ACF Fields to REST API
======================

[](#acf-fields-to-rest-api)

 [![](https://camo.githubusercontent.com/32a21154a03c674bea2567717f937aa3dbabe0dcce935810e3dbec59a76f8112/68747470733a2f2f6c65776973646f6e6f76616e2e6465762f696d672f706f7374732f6163662d6669656c64732d746f2d77702d726573742d6170692e6a7067)](https://camo.githubusercontent.com/32a21154a03c674bea2567717f937aa3dbabe0dcce935810e3dbec59a76f8112/68747470733a2f2f6c65776973646f6e6f76616e2e6465762f696d672f706f7374732f6163662d6669656c64732d746f2d77702d726573742d6170692e6a7067)

Programmatically add data from Advanced Custom Fields to the Wordpress REST API

Simply install and activate the plugin. All existing and new ACF fields will be imported into the API.

Any ACF fields added to posts, pages or categories will appear in the API at the usual endpoints (eg: /wp-json/wp/v2/posts).

If you have custom post types or taxonomies and you have exposed them to the API using `show_in_rest => true`, any ACF fields will appear at their endpoints. For more info on exposing custom post types and taxonomies to the API [read here](https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-rest-api-support-for-custom-content-types/).

Compatible with ACF v5.6.0

Changelog
---------

[](#changelog)

**v1.0** - 21.06.2017
Initial commit

**v1.1** - 26.07.2017
Updates to namespace and function naming

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23400003?v=4)[Lewis Donovan](/maintainers/lewisdonovan)[@lewisdonovan](https://github.com/lewisdonovan)

---

Top Contributors

[![tyrann0us](https://avatars.githubusercontent.com/u/8144115?v=4)](https://github.com/tyrann0us "tyrann0us (1 commits)")

### Embed Badge

![Health badge](/badges/lewisdonovan-acf-fields-to-wp-rest-api/health.svg)

```
[![Health](https://phpackages.com/badges/lewisdonovan-acf-fields-to-wp-rest-api/health.svg)](https://phpackages.com/packages/lewisdonovan-acf-fields-to-wp-rest-api)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
