diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
index e04193a..b6a3746 100644
--- a/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
+++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
@@ -255,6 +255,67 @@ abstract class WP_REST_Controller {
 	}
 
 	/**
+	 * Filters a response based on the fields requested.
+	 *
+	 * @since 4.9.0
+	 *
+	 * @param array $data Response data to filter.
+	 * @param array $fields Fields to include. Can specify nested objects using array dot notation.
+	 *
+	 * @return array
+	 */
+	public function filter_response_by_fields( $data, $fields ) {
+
+		if ( empty( $fields ) ) {
+			return $data;
+		}
+
+		$flipped = array_flip( $fields );
+		$filtered = array();
+
+		foreach ( $data as $key => $value ) {
+			$key_requested = isset( $flipped[ $key ] );
+
+			if ( is_array( $value ) ) {
+				$nested_fields = $this->_get_nested_fields( $fields, $key );
+
+				if ( $nested_fields ) {
+					$filtered[ $key ] = $this->filter_response_by_fields( $value, $nested_fields );
+				} elseif ( $key_requested ) {
+					$filtered[ $key ] = $value;
+				}
+			} elseif ( $key_requested ) {
+				$filtered[ $key ] = $value;
+			}
+		}
+
+		return $filtered;
+	}
+
+	/**
+	 * Filter the fields list to only include fields that are an array dot child of a given $key.
+	 *
+	 * @param array $fields All fields.
+	 * @param string $key   The key to look for.
+	 *
+	 * @return array The filtered list of fields.
+	 */
+	private function _get_nested_fields( $fields, $key ) {
+
+		$nested = array();
+
+		foreach ( $fields as $field ) {
+			$sub = substr( $field, 0,strlen( $key ) + 1 );
+
+			if ( $sub === $key . '.' ) {
+				$nested[] = substr( $field, strlen( $key ) + 1 );
+			}
+		}
+
+		return $nested;
+	}
+
+	/**
 	 * Retrieves the item's schema, conforming to JSON Schema.
 	 *
 	 * @since 4.7.0
@@ -360,6 +421,63 @@ abstract class WP_REST_Controller {
 	}
 
 	/**
+	 * Retrieves the fields param.
+	 *
+	 * @since 4.9.0
+	 *
+	 * @param array $args
+	 *
+	 * @return array
+	 */
+	public function get_fields_param( $args = array() ) {
+
+		$param_details = array(
+			'description'       => __( 'Limit the fields to include in the response.' ),
+			'type'              => 'string',
+			'sanitize_callback' => 'sanitize_key',
+			'validate_callback' => 'rest_validate_request_arg',
+		);
+
+		$fields = $this->get_all_field_keys( $this->get_item_schema() );
+
+		if ( $fields ) {
+			$param_details['enum'] = $fields;
+		}
+
+		return array_merge( $param_details, $args );
+	}
+
+	/**
+	 * Recursively retrieve all the keys for fields in array dot notation.
+	 *
+	 * @param array  $schema
+	 * @param string $parent_field
+	 *
+	 * @return array
+	 */
+	private function get_all_field_keys( $schema, $parent_field = '' ) {
+
+		$fields = array();
+
+		if ( $parent_field ) {
+			$fields[] = $parent_field;
+		}
+
+		$type = (array) $schema['type'];
+
+		if ( ! in_array( 'object', $type, true ) || empty( $schema['properties'] ) ) {
+			return $fields;
+		}
+
+		foreach ( $schema['properties'] as $property => $prop_schema ) {
+			$prop_field = $parent_field ? "{$parent_field}.{$property}" : $property;
+			$fields     = array_merge( $fields, $this->get_all_field_keys( $prop_schema, $prop_field ) );
+		}
+
+		return $fields;
+	}
+
+	/**
 	 * Adds the values from additional fields to a data object.
 	 *
 	 * @since 4.7.0
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
index f9de736..d68ffa6 100644
--- a/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
+++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
@@ -1531,6 +1531,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
 		$context = ! empty( $request['context'] ) ? $request['context'] : 'view';
 		$data    = $this->add_additional_fields_to_object( $data, $request );
 		$data    = $this->filter_response_by_context( $data, $context );
+		$data    = $this->filter_response_by_fields( $data, $request['_fields'] );
 
 		// Wrap the data in a response object.
 		$response = rest_ensure_response( $data );
@@ -2023,6 +2024,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
 		$query_params = parent::get_collection_params();
 
 		$query_params['context']['default'] = 'view';
+		$query_params['_fields'] = $this->get_fields_param();
 
 		$query_params['after'] = array(
 			'description'        => __( 'Limit response to posts published after a given ISO8601 compliant date.' ),
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
index 0723022..7ef7f42 100644
--- a/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
+++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
@@ -712,6 +712,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller {
 		$context = ! empty( $request['context'] ) ? $request['context'] : 'view';
 		$data    = $this->add_additional_fields_to_object( $data, $request );
 		$data    = $this->filter_response_by_context( $data, $context );
+		$data    = $this->filter_response_by_fields( $data, $request['_fields'] );
 
 		$response = rest_ensure_response( $data );
 
diff --git a/tests/phpunit/tests/rest-api/rest-attachments-controller.php b/tests/phpunit/tests/rest-api/rest-attachments-controller.php
index 98a079b..1d40e6f 100644
--- a/tests/phpunit/tests/rest-api/rest-attachments-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-attachments-controller.php
@@ -140,6 +140,7 @@ class WP_Test_REST_Attachments_Controller extends WP_Test_REST_Post_Type_Control
 		$keys = array_keys( $data['endpoints'][0]['args'] );
 		sort( $keys );
 		$this->assertEquals( array(
+			'_fields',
 			'after',
 			'author',
 			'author_exclude',
diff --git a/tests/phpunit/tests/rest-api/rest-pages-controller.php b/tests/phpunit/tests/rest-api/rest-pages-controller.php
index ee24f7a..bed80f8 100644
--- a/tests/phpunit/tests/rest-api/rest-pages-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-pages-controller.php
@@ -65,6 +65,7 @@ class WP_Test_REST_Pages_Controller extends WP_Test_REST_Post_Type_Controller_Te
 		$keys = array_keys( $data['endpoints'][0]['args'] );
 		sort( $keys );
 		$this->assertEquals( array(
+			'_fields',
 			'after',
 			'author',
 			'author_exclude',
diff --git a/tests/phpunit/tests/rest-api/rest-posts-controller.php b/tests/phpunit/tests/rest-api/rest-posts-controller.php
index c86879c..c5d736c 100644
--- a/tests/phpunit/tests/rest-api/rest-posts-controller.php
+++ b/tests/phpunit/tests/rest-api/rest-posts-controller.php
@@ -120,6 +120,30 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te
 		$this->assertEquals( array( 'view', 'embed', 'edit' ), $data['endpoints'][0]['args']['context']['enum'] );
 	}
 
+	public function test_fields_param() {
+
+		$request = new WP_REST_Request( 'OPTIONS', '/wp/v2/posts' );
+		$response = $this->server->dispatch( $request );
+		$data = $response->get_data();
+
+		$fields = $data['endpoints'][0]['args']['_fields']['enum'];
+		$expected = array(
+			'title',
+			'title.raw',
+			'title.rendered',
+			'content',
+			'content.raw',
+			'content.rendered',
+			'content.protected',
+			'date',
+			'date_gmt'
+		);
+
+		foreach ( $expected as $field ) {
+			$this->assertContains( $field, $fields );
+		}
+	}
+
 	public function test_registered_query_params() {
 		$request = new WP_REST_Request( 'OPTIONS', '/wp/v2/posts' );
 		$response = $this->server->dispatch( $request );
@@ -127,6 +151,7 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te
 		$keys = array_keys( $data['endpoints'][0]['args'] );
 		sort( $keys );
 		$this->assertEquals( array(
+			'_fields',
 			'after',
 			'author',
 			'author_exclude',
@@ -3080,6 +3105,28 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te
 		$this->assertEquals( $expected_keys, $keys );
 	}
 
+	public function test_get_post_fields() {
+		wp_set_current_user( self::$editor_id );
+
+		$request = new WP_REST_Request( 'GET', sprintf( '/wp/v2/posts/%d', self::$post_id ) );
+		$request->set_param( 'context', 'edit' );
+		$request->set_param( '_fields', array( 'title.raw', 'content', 'date', 'fake.prop.nested' ) );
+		$response = $this->server->dispatch( $request );
+		$data = $response->get_data();
+
+		$this->assertArrayHasKey( 'title', $data );
+		$this->assertArrayHasKey( 'raw', $data['title'] );
+		$this->assertArrayNotHasKey( 'rendered', $data['title'] );
+
+		$this->assertArrayHasKey( 'content', $data );
+		$this->assertArrayHasKey( 'raw', $data['content'] );
+		$this->assertArrayHasKey( 'rendered', $data['content'] );
+		$this->assertArrayHasKey( 'protected', $data['content'] );
+
+		$this->assertArrayHasKey( 'date', $data );
+		$this->assertArrayNotHasKey( 'date_gmt', $data );
+	}
+
 	public function test_status_array_enum_args() {
 		$request = new WP_REST_Request( 'GET', '/wp/v2' );
 		$response = $this->server->dispatch( $request );
diff --git a/tests/qunit/fixtures/wp-api-generated.js b/tests/qunit/fixtures/wp-api-generated.js
index 679d024..a522a27 100644
--- a/tests/qunit/fixtures/wp-api-generated.js
+++ b/tests/qunit/fixtures/wp-api-generated.js
@@ -211,6 +211,47 @@ mockedApiResponse.Schema = {
                             "description": "Limit results to those matching a string.",
                             "type": "string"
                         },
+                        "_fields": {
+                            "required": false,
+                            "enum": [
+                                "date",
+                                "date_gmt",
+                                "guid",
+                                "guid.raw",
+                                "guid.rendered",
+                                "id",
+                                "link",
+                                "modified",
+                                "modified_gmt",
+                                "slug",
+                                "status",
+                                "type",
+                                "password",
+                                "title",
+                                "title.raw",
+                                "title.rendered",
+                                "content",
+                                "content.raw",
+                                "content.rendered",
+                                "content.protected",
+                                "author",
+                                "excerpt",
+                                "excerpt.raw",
+                                "excerpt.rendered",
+                                "excerpt.protected",
+                                "featured_media",
+                                "comment_status",
+                                "ping_status",
+                                "format",
+                                "meta",
+                                "sticky",
+                                "template",
+                                "categories",
+                                "tags"
+                            ],
+                            "description": "Limit the fields to include in the response.",
+                            "type": "string"
+                        },
                         "after": {
                             "required": false,
                             "description": "Limit response to posts published after a given ISO8601 compliant date.",
@@ -827,6 +868,45 @@ mockedApiResponse.Schema = {
                             "description": "Limit results to those matching a string.",
                             "type": "string"
                         },
+                        "_fields": {
+                            "required": false,
+                            "enum": [
+                                "date",
+                                "date_gmt",
+                                "guid",
+                                "guid.raw",
+                                "guid.rendered",
+                                "id",
+                                "link",
+                                "modified",
+                                "modified_gmt",
+                                "slug",
+                                "status",
+                                "type",
+                                "password",
+                                "parent",
+                                "title",
+                                "title.raw",
+                                "title.rendered",
+                                "content",
+                                "content.raw",
+                                "content.rendered",
+                                "content.protected",
+                                "author",
+                                "excerpt",
+                                "excerpt.raw",
+                                "excerpt.rendered",
+                                "excerpt.protected",
+                                "featured_media",
+                                "comment_status",
+                                "ping_status",
+                                "menu_order",
+                                "meta",
+                                "template"
+                            ],
+                            "description": "Limit the fields to include in the response.",
+                            "type": "string"
+                        },
                         "after": {
                             "required": false,
                             "description": "Limit response to posts published after a given ISO8601 compliant date.",
@@ -1370,6 +1450,45 @@ mockedApiResponse.Schema = {
                             "description": "Limit results to those matching a string.",
                             "type": "string"
                         },
+                        "_fields": {
+                            "required": false,
+                            "enum": [
+                                "date",
+                                "date_gmt",
+                                "guid",
+                                "guid.raw",
+                                "guid.rendered",
+                                "id",
+                                "link",
+                                "modified",
+                                "modified_gmt",
+                                "slug",
+                                "status",
+                                "type",
+                                "title",
+                                "title.raw",
+                                "title.rendered",
+                                "author",
+                                "comment_status",
+                                "ping_status",
+                                "meta",
+                                "template",
+                                "alt_text",
+                                "caption",
+                                "caption.raw",
+                                "caption.rendered",
+                                "description",
+                                "description.raw",
+                                "description.rendered",
+                                "media_type",
+                                "mime_type",
+                                "media_details",
+                                "post",
+                                "source_url"
+                            ],
+                            "description": "Limit the fields to include in the response.",
+                            "type": "string"
+                        },
                         "after": {
                             "required": false,
                             "description": "Limit response to posts published after a given ISO8601 compliant date.",
