---
title: "Changes to POST /query"
method: POST
path: "/query"
---

# Changes to POST /query

`POST /query`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 5 of 9 revisions.

- **2026-08-10** `f586f4853138` — 1 breaking, 1 info
- **2026-07-21** `cb6bdde6167d` — 1 breaking, 7 info
- **2026-05-21** `97b870f1f638` — 1 breaking, 1 info
- **2026-05-21** `e1982645f483` — 2 breaking, 2 info
- **2026-05-07** `28449cf3a488` — 1 breaking, 5 info

## Changes

- **2026-08-10** `f586f4853138` — 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`
- **2026-07-21** `cb6bdde6167d` — 1 breaking, 7 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - added the new optional request property `params/oneOf[subschema #14: view_access_key_list_by_finality]/allOf[subschema #2]/after_key`
  - added the new optional request property `params/oneOf[subschema #14: view_access_key_list_by_finality]/allOf[subschema #2]/limit`
  - added the new optional request property `params/oneOf[subschema #23: view_access_key_list_by_sync_checkpoint]/allOf[subschema #2]/after_key`
  - added the new optional request property `params/oneOf[subschema #23: view_access_key_list_by_sync_checkpoint]/allOf[subschema #2]/limit`
  - added the new optional request property `params/oneOf[subschema #5: view_access_key_list_by_block_id]/allOf[subschema #2]/after_key`
  - added the new optional request property `params/oneOf[subschema #5: view_access_key_list_by_block_id]/allOf[subschema #2]/limit`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`
- **2026-05-21** `97b870f1f638` — 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`
- **2026-05-21** `e1982645f483` — 2 breaking, 2 info
  - removed `#/components/schemas/RpcQueryRequest_variant0, #/components/schemas/RpcQueryRequest_variant1, #/components/schemas/RpcQueryRequest_variant2, #/components/schemas/RpcQueryRequest_variant3, #/components/schemas/RpcQueryRequest_variant4, #/components/schemas/RpcQueryRequest_variant5, #/components/schemas/RpcQueryRequest_variant6, #/components/schemas/RpcQueryRequest_variant8, #/components/schemas/RpcQueryRequest_variant9, #/components/schemas/RpcQueryRequest_variant10, #/components/schemas/RpcQueryRequest_variant11, #/components/schemas/RpcQueryRequest_variant12, #/components/schemas/RpcQueryRequest_variant13, #/components/schemas/RpcQueryRequest_variant14, #/components/schemas/RpcQueryRequest_variant15, #/components/schemas/RpcQueryRequest_variant17, #/components/schemas/RpcQueryRequest_variant18, #/components/schemas/RpcQueryRequest_variant19, #/components/schemas/RpcQueryRequest_variant20, #/components/schemas/RpcQueryRequest_variant21, #/components/schemas/RpcQueryRequest_variant22, #/components/schemas/RpcQueryRequest_variant23, #/components/schemas/RpcQueryRequest_variant24, #/components/schemas/RpcQueryRequest_variant26` from the `params` request property `oneOf` list
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - added `subschema #1: view_account_by_block_id, subschema #2: view_code_by_block_id, subschema #3: view_state_by_block_id, subschema #4: view_access_key_by_block_id, subschema #5: view_access_key_list_by_block_id, subschema #6: view_gas_key_nonces_by_block_id, subschema #7: call_function_by_block_id, subschema #9: view_global_contract_code_by_account_id_by_block_id, subschema #10: view_account_by_finality, subschema #11: view_code_by_finality, subschema #12: view_state_by_finality, subschema #13: view_access_key_by_finality, subschema #14: view_access_key_list_by_finality, subschema #15: view_gas_key_nonces_by_finality, subschema #16: call_function_by_finality, subschema #18: view_global_contract_code_by_account_id_by_finality, subschema #19: view_account_by_sync_checkpoint, subschema #20: view_code_by_sync_checkpoint, subschema #21: view_state_by_sync_checkpoint, subschema #22: view_access_key_by_sync_checkpoint, subschema #23: view_access_key_list_by_sync_checkpoint, subschema #24: view_gas_key_nonces_by_sync_checkpoint, subschema #25: call_function_by_sync_checkpoint, subschema #27: view_global_contract_code_by_account_id_by_sync_checkpoint` to the `params` request property `oneOf` list
  - removed `#/components/schemas/JsonRpcResponse_for_RpcQueryResponse_and_RpcQueryError_variant0, #/components/schemas/JsonRpcResponse_for_RpcQueryResponse_and_RpcQueryError_variant1` from the response body `oneOf` list for the response status `200`
- **2026-05-07** `28449cf3a488` — 1 breaking, 5 info
  - request property `jsonrpc` was restricted to a list of enum values
  - the request property `id` became optional
  - the request property `jsonrpc` became optional
  - the `id` request property default value `dontcare` was added
  - the `jsonrpc` request property default value `2.0` was added
  - added the new `2.0` enum value to the request property `jsonrpc`

---

[Operation](https://skmtc.dev/near/apis/near-protocol-json-rpc-api/docs/query/post.md) · [API](https://skmtc.dev/near/apis/near-protocol-json-rpc-api.md) · [Page](https://skmtc.dev/near/apis/near-protocol-json-rpc-api/changes/query/post)
