# No longer can get nested data with API

**URL:** <https://community.nocodb.com/t/no-longer-can-get-nested-data-with-api/964>\
**Category:** APIs\
**Created:** [December 1, 2023, 7:23am UTC](https://community.nocodb.com/t/no-longer-can-get-nested-data-with-api/964 "2023-12-01T07:23:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![novianti](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@novianti](https://community.nocodb.com/u/novianti)\
**Post date:** [December 1, 2023, 7:23am UTC](https://community.nocodb.com/t/no-longer-can-get-nested-data-with-api/964/1 "2023-12-01T07:23:55Z")

</div>

Before I upgraded my NocoDB, I can get informations of every records that are linked to a table using the nested API parameter `?nested[table_of_related_records][fields]=field1,field2,...` and it will return array of objects. But now after I upgraded my NocoDB version, it only returns the number of records that are linked to a table. Is there any changes to how I can get fields information using nested?

---

<div class="post-metadata">

**Author:** ![pranavxc](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@pranavxc](https://community.nocodb.com/u/pranavxc)\
**Post date:** [December 1, 2023, 7:33am UTC](https://community.nocodb.com/t/no-longer-can-get-nested-data-with-api/964/2 "2023-12-01T07:33:26Z")

</div>

The option to create **LinkToAnotherRecord** has been discontinued, and instead, we have introduced **Links** to establish a relationship between tables. The List API can now be utilised to retrieve the count of linked records (similar to Rollup). Any existing **LinkToAnotherRecord** will continue to function as before(returns array of data).

To retrieve nested data, you can now use nested APIs. For reference and detailed information, please visit [NocoDB API Documentation](https://data-apis-v2.nocodb.com/#tag/Table-Records/operation/db-data-table-row-nested-list).

---

<div class="post-metadata">

**Author:** ![novianti](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@novianti](https://community.nocodb.com/u/novianti)\
**Post date:** [December 1, 2023, 7:43am UTC](https://community.nocodb.com/t/no-longer-can-get-nested-data-with-api/964/3 "2023-12-01T07:43:02Z")

</div>

Thank you so much for the explanation! May I ask how do I collect the `linkFieldId`?

---

<div class="post-metadata">

**Author:** ![dstala](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dstala](https://community.nocodb.com/u/dstala)\
**Post date:** [December 1, 2023, 7:46am UTC](https://community.nocodb.com/t/no-longer-can-get-nested-data-with-api/964/4 "2023-12-01T07:46:25Z")

</div>

You can use meta API. On UI, it’s available in details menu, field editor, field context menu

 ![Screenshot 2023-12-01 at 1.15.33 PM](https://canada1.discourse-cdn.com/flex011/uploads/nocodb/original/1X/a2892effe2012a5df44250c54cbcb8a3f27dba49.png)
