Sync. Filter. Extract.
Deploy advanced ML, NLP, and LLMs to retrieve first-party data from your users’ inboxes.
Deploy advanced ML, NLP, and LLMs to retrieve first-party data from your users’ inboxes.
ExtractAI filters and structures the data in your users’ emails, reducing manual workloads through automation.
Available at a fraction of the cost of other LLMs and AI models.
Accurately extract order data from over 30,000 merchants and shipping carriers.
Securely sync and extract data directly from an inbox – no forwarding required.
With just a few lines of code, implement full email-read capabilities and automatic data extraction.
See the docsCurl
curl --location 'https://api.us.nylas.com/v3/grants/<NYLAS_GRANT_ID>/consolidated-order' \
--header 'Authorization: Bearer <NYLAS_API_TOKEN>'
Curl
curl --location 'https://api.us.nylas.com/v3/grants/<NYLAS_GRANT_ID>/consolidated-shipment' \
--header 'Authorization: Bearer <NYLAS_API_TOKEN>'
Response
{
"request_id": "da721dce-77d6-45e5-b295-200402215e21",
"next_cursor": "MjAyNC0wNS0yMVQyMjozNjowOS40MTA3N1o=",
"data": [
{
"id": "7d34d328-3869-4b23-b8c1-ddcf65a38ae0",
"application_id": "<NYLAS_APPLICATION_ID>",
"grant_id": "<NYLAS_GRANT_ID>",
"object": "order",
"created_at": 1716330978,
"updated_at": 1716332784,
"order_id": "9542212-368142",
"merchant_name": "Nylas Example",
"merchant_domain": "example.com",
"purchase_date": 1632726000,
"currency": "USD",
"order_total": 812,
"tax_total": 16,
"discount_total": null,
"shipping_total": null,
"gift_card_total": null,
"products": [
{
"name": "Sensitive Skin Bar Soap - 4 oz.",
"image_url": null,
"quantity": 1,
"unit_price": 197
}
],
"provider_message_ids": ["18f9d4c513cb8ff8"]
},
{
"id": "62e38e87-5c72-484e-8717-7037176b753a",
"application_id": "<NYLAS_APPLICATION_ID>",
"grant_id": "<NYLAS_GRANT_ID>",
"object": "order",
"created_at": 1716330974,
"updated_at": 1716332855,
"order_id": "51454083051",
"merchant_name": "Nylas Example",
"merchant_domain": "example.com",
"purchase_date": 1664866800,
"currency": "USD",
"order_total": 456,
"tax_total": 36,
"discount_total": null,
"shipping_total": null,
"gift_card_total": null,
"products": [
{
"name": "Lip Balm & Scrub",
"image_url": null,
"quantity": 1,
"unit_price": 420
}
],
"provider_message_ids": ["18f9d4c39cf1ef34"]
}
]
}
{
"request_id": "44f93df1-6d15-4a47-8d1c-9a2ba085396c",
"next_cursor": "MjAyNC0wNS0yMVQyMjozNTozOS45NDgwNzVa",
"data": [
{
"object": "shipment",
"id": "27be79f8-2175-42bd-9a3b-61968d850b2e",
"created_at": 1716330979,
"updated_at": 1716330979,
"application_id": "<NYLAS_APPLICATION_ID>",
"grant_id": "<NYLAS_GRANT_ID>",
"tracking_provider_message_ids": ["18f9d4c513cb8ff8"],
"carrier_name": "Nyla Global Express Inc.",
"tracking_number": "<CARRIER_TRACKING_NUMBER>",
"tracking_link": "<CARRIER_TRACKING_LINK>",
"carrier_enrichment": {
"delivery_date": 1190906222,
"delivery_estimate": 0,
"delivery_status": {
"description": "delivered",
"carrier_description": "Delivered"
},
"ship_to_address": {
"city": "SAN FRANCISCO",
"postal_code": "94102",
"state_province_code": "CA",
"country_code": "US",
"country_name": "United States"
},
"package_activity": [
{
"status": {
"description": "delivered",
"carrier_description": "Delivered"
},
"location": {
"city": "SAN FRANCISCO",
"postal_code": "94102",
"state_province_code": "CA",
"country_code": "US",
"country_name": "United States"
},
"carrier_location": "",
"timestamp": 1190906222
},
{
"status": {
"description": "out_for_delivery",
"carrier_description": "On FedEx vehicle for delivery"
},
"location": {
"city": "SAN FRANCISCO",
"postal_code": "94102",
"state_province_code": "CA",
"country_code": "US",
"country_name": "United States"
},
"carrier_location": "",
"timestamp": 1190888940
},
{
"status": {
"description": "in_transit",
"carrier_description": "Arrived at FedEx location"
},
"location": {
"city": "HOLMEN",
"postal_code": "54636",
"state_province_code": "WI",
"country_code": "US",
"country_name": "United States"
},
"carrier_location": "",
"timestamp": 1190677980
},
{
"status": {
"description": "info_received",
"carrier_description": "Shipment information sent to FedEx"
},
"location": {
"city": "",
"postal_code": "54612",
"state_province_code": "",
"country_code": "US",
"country_name": "United States"
},
"carrier_location": "",
"timestamp": 1190657340
}
],
"signature_required": false
},
"order": {
"order_id": "9542212-368142",
"purchase_date": 1632726000,
"currency": "USD",
"merchant_name": "Nylas Example",
"merchant_domain": "example.com",
"order_total": 812,
"tax_total": 16,
"discount_total": null,
"shipping_total": null,
"gift_card_total": null,
"products": [
{
"name": "Sensitive Skin Bar Soap - 4 oz.",
"image_url": null,
"quantity": 1,
"unit_price": 197
}
],
"order_provider_message_ids": ["18f9d4c513cb8ff8"]
}
}
]
}
Receive real-time notifications from new emails with extracted data.
Use our development sandbox with pre-configured extractors to retrieve data.
Support complex workflows with email, calendar, & contact data alongside extracted emails.
Email is an untapped source of data. Unlock its potential to drive innovation in your business.
Process orders and shipping, with data like item codes, prices and tracking numbers.
Create high-quality labeled datasets to train extractors to recognise data.
Combine data from multiple emails to create a unified view of extracted items.
Over 188 billion emails are received every day, but <1% of them are analyzed because accessing and structuring data is challenging.
Power features that save users time through automation, and bring your application to front of mind with every purchase.
Extract orders and purchases from the mailbox to simplify expense report creation and reduce time to reimbursement.
Explore expense managementQuickly build high-volume email outreach with near-perfect deliverability.
Explore order trackingGet your API key and connect up to 5 accounts for free.