# API getting the wells used by a project returns nothing

**URL:** <https://forum.api.combocurve.com/t/api-getting-the-wells-used-by-a-project-returns-nothing/211>\
**Category:** Forum\
**Created:** [May 2, 2023, 3:45pm UTC](https://forum.api.combocurve.com/t/api-getting-the-wells-used-by-a-project-returns-nothing/211 "2023-05-02T15:45:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CCDW](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@CCDW](https://forum.api.combocurve.com/u/CCDW)\
**Post date:** [May 2, 2023, 3:45pm UTC](https://forum.api.combocurve.com/t/api-getting-the-wells-used-by-a-project-returns-nothing/211/1 "2023-05-02T15:45:38Z")

</div>

Hi CC Team,

I guess I don’t understand the concept of “project wells”. All I know is this call returns nothing most of the time depending on the project passed in:

GETget-project-wells

[https://api.combocurve.com/v1/projects/:projectId/wells?skip=0&take=25&sort=](https://api.combocurve.com/v1/projects/:projectId/wells?skip=0&take=25&sort=)&cursor=&api10=&api12=&county=&state=&wellName=&chosenID=&inptID=&api14=&createdAt=&updatedAt=&dataSource=&currentOperator=

There is a workaround call which is get\_wells. The only way I could use the call is by passing in individual well API, which is very inefficient. I could potentially make thousands of calls for fetching the wells in a project because well list concept is not supported, which enable me to pass in a list of well APIs.

Please let me know if I am missing something here.

Many thanks,

---

<div class="post-metadata">

**Author:** ![Jeff\_Hopkins](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.api.combocurve.com/jeff_hopkins/32/119_2.png) [@Jeff\_Hopkins](https://forum.api.combocurve.com/u/Jeff_Hopkins)\
**Post date:** [May 2, 2023, 4:29pm UTC](https://forum.api.combocurve.com/t/api-getting-the-wells-used-by-a-project-returns-nothing/211/2 "2023-05-02T16:29:37Z")

</div>

In ComboCurve there are two different Scopes that a Well can have, either “Project” or “Company”. The “[get-project-company-wells](https://docs.api.combocurve.com/#3cf013a2-0428-4c54-9852-f6e7a2e24fdf)” endpoint will return Well records with a “Company” Scope which are associated with the input ProjectId. The “[get-project-wells](https://docs.api.combocurve.com/#2bd1c23b-97f4-4e36-b4f4-58659748007a)” endpoint will return Well records with a “Project” Scope which are associated with the input ProjectId.

In order to check the Scope of a given Well record through the UI you can follow these steps:

1. Click the column header button on the well table  

2. Select the Scope header and click Apply  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/the_combocurve_api/original/1X/fc585267c900f8b2c0ebb336aaffe71f56451d24.png)

3. The Well table should now display the Scope field  

In the above example, the “[get-project-company-wells](https://docs.api.combocurve.com/#3cf013a2-0428-4c54-9852-f6e7a2e24fdf)” endpoint would return the 'THOMPSON UNIT" Well, and the “[get-project-wells](https://docs.api.combocurve.com/#2bd1c23b-97f4-4e36-b4f4-58659748007a)” would return the “TEST 3” Well.
