# Query wells table by project ID

**URL:** <https://forum.api.combocurve.com/t/query-wells-table-by-project-id/94>\
**Category:** Guidance\
**Tags:** python\
**Created:** [February 28, 2022, 8:42pm UTC](https://forum.api.combocurve.com/t/query-wells-table-by-project-id/94 "2022-02-28T20:42:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduardomar](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@eduardomar](https://forum.api.combocurve.com/u/eduardomar)\
**Post date:** [February 28, 2022, 8:42pm UTC](https://forum.api.combocurve.com/t/query-wells-table-by-project-id/94/1 "2022-02-28T20:42:00Z")

</div>

Hello,

Is there a way to query the wells table by projectID ?

---

<div class="post-metadata">

**Author:** ![maikel.ruiz](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.api.combocurve.com/maikel.ruiz/32/101_2.png) [@maikel.ruiz](https://forum.api.combocurve.com/u/maikel.ruiz)\
**Post date:** [February 28, 2022, 9:36pm UTC](https://forum.api.combocurve.com/t/query-wells-table-by-project-id/94/2 "2022-02-28T21:36:12Z")

</div>

Eduardo,

Thanks for posting your question here. Yes, there are dedicated endpoints for wells that are associated to a particular project:

- [/v1/projects/:projectId/wells](https://docs.api.combocurve.com/#5a45a9d8-c9f9-4a47-a544-aeaff536485c): For wells scoped to this project (They were created inside this project and not shared outside of it)
- [/v1/projects/:projectId/company-wells](https://docs.api.combocurve.com/#839ff137-23a9-4c04-b760-e6f861fbea22): For company scope wells linked to this project.

Regards
