![](https://www.infallibletechie.com/wp-content/uploads/2022/11/Find-your-Salesforce-Instance-using-SOQL-1024x576.jpg)
SOQL Query on Organization entity can be used to find the Salesforce Instance.
Sample SOQL:
SELECT Id, InstanceName
FROM Organization
REST API SOQL Call:
![](https://www.infallibletechie.com/wp-content/uploads/2022/10/Salesforce-Intance-using-API.jpg)
SOQL Query on Organization entity can be used to find the Salesforce Instance.
Sample SOQL:
SELECT Id, InstanceName
FROM Organization
REST API SOQL Call: