Access comprehensive vehicle data directly in Snowflake through CarsXE's powerful API. This Native App provides an intuitive Streamlit interface and SQL callable procedures for seamless integration into your data workflows.
Get started with the CarsXE Snowflake Native App for comprehensive vehicle data access directly in your Snowflake environment.
api.carsxe.com and does not access any other external domains.Install from Snowflake Marketplace
Open the App
Complete Setup (3 Simple Steps)
The app guides you through each step:
Step 1: Connect External Access
api.carsxe.comStep 2: Add Your API Key
CORE.CONFIG table to prevent SQL identifier issues.Step 3: Start Using the APIs
You can call the app fully through SQL, without using the UI, via:
CALL CORE.CALL_CARSXE_ENDPOINT(
path => '<API_PATH>',
method => '<HTTP_METHOD>',
params => '<JSON string of params>'
);Parameters:
path – API endpoint path (e.g., "/specs", /v2/platedecoder, /v2/marketvalue). For a complete list of available endpoints and their versions, see the CarsXE API Documentationmethod – "GET" or "POST" (most endpoints use GET; some endpoints like plate recognition and VIN OCR use POST. Check the API Documentation for endpoint-specific method requirements)params – JSON string with endpoint-specific parameters (do not include key; the app injects it automatically)Important: Before using these SQL examples, you must complete the setup steps in the Streamlit UI app, including configuring the External Access Integration (EAI) and adding your API key. See the Installation section above for details.
-- Validate your CarsXE API key
CALL CORE.VALIDATE_CARSXE_API_KEY('your_api_key_here'); -- Save CarsXE API key in the secure CORE.CONFIG table
CALL CORE.SET_CARSXE_API_KEY('your_api_key_here'); Note: The API key storage now uses a bind variable internally to avoid SQL compilation errors with identifiers.
CALL CORE.CALL_CARSXE_ENDPOINT(
'/specs',
'GET',
'{"vin":"WBAFR7C57CC811956"}'
);CALL CORE.CALL_CARSXE_ENDPOINT(
'/v2/platedecoder',
'GET',
'{"plate":"7XER187","country":"US","state":"CA"}'
);CALL CORE.CALL_CARSXE_ENDPOINT(
'/v2/marketvalue',
'GET',
'{"vin":"WBAFR7C57CC811956"}'
);CALL CORE.CALL_CARSXE_ENDPOINT(
'/images',
'GET',
'{"make":"toyota","model":"tacoma","year":"2018", "color":"blue","format":"json"}'
);CALL CORE.CALL_CARSXE_ENDPOINT(
'/platerecognition',
'POST',
'{"upload_url":"https://imagedelivery.net/moyiiSImjJPI_EZVxNMBBw/f49aed53-d736-4370-f3f4-97418841c800/public"}'
);CALL CORE.CALL_CARSXE_ENDPOINT(
'/v1/vinocr',
'POST',
'{"upload_url":"https://user-images.githubusercontent.com/5663423/30922082-64edb4fa-a3a8-11e7-873e-3fbcdce8ea3a.png"}'
);CALL CORE.CALL_CARSXE_ENDPOINT(
'/v1/lien-theft',
'GET',
'{"vin":"2C3CDXFG1FH762860"}'
);Internally, each call automatically adds key=<your API key> in the request to CarsXE.
CORE.CONFIG table using a bind variable to prevent SQL injection and identifier issues.