How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Syntage Extractions API

Extractions are tasks that retrieve data for an entity from a datasource. They are used to collect invoices, tax returns, tax status, tax compliance checks, RPC records, RUG guarantees, Buró de Crédito reports, BIL reports, and other datasource-backed records.An extraction runs asynchronously. Creating one starts or queues the work, and the returned Extraction resource tracks its status, options, timing, errors, and the number of resources created or updated.## How Extractions Work1. Create or retrieve the entity you want to extract data for.2. Create an extraction with the entity IRI, extractor name, and extractor options.3. Store the returned extraction ID.4. Retrieve the extraction until its `status` is `finished` or `failed`.5. Read the extracted data from the related resource endpoints, such as invoices or tax returns.If the same extraction is already pending or running for the same entity, extractor, and options, Syntage returns a duplicate extraction response instead of starting the same work again.## OptionsOptions containing a period (`.`) in the name like `period.from` are a way to denote object paths. For example, `period.from` should actually be sent as:```json{ "options": { "period": { "from": "2020-01-01", "to": "2020-12-31" } }}```Extractor names and options are specific to the data you are extracting. For extraction-backed resources, use the resource overview page for the extractor name, required credentials, supported options, and the endpoint where the extracted records can be read.# Extraction status| Status | Description || ------ | ----------- || pending | The initial extraction status. The extraction is enqueued and waiting to be processed. || waiting | The extraction does not meet the requirements to begin. || running | The extraction process started and is currently running. The running time varies depending on the extractor type and the entity's transactional volume. You may find partial data available in our API endpoints during this time. || finished | The extraction finished successfully. All data is available to be retrieved from our API endpoints. || failed | The extraction couldn't start or failed during the process. Our internal retry policies weren't able to finish the extraction successfully. We may have partial data available in our API endpoints, but new extractions should be created to ensure all the entity's data is available. You can check the [extraction error code](#section/Extraction-error-codes) to understand why it failed and determine whether it can be retried or not. || stopping | The extraction was requested to be stopped by the user. It is in the process of being stopped. || stopped | The extraction was stopped by the user after it started running. This extraction is included in billing. || cancelled | The extraction was stopped by the user before it started running. This extraction is not included in billing. |# Extraction error codes| Code | Description | Retryable || ---- | ----------- | --------- || invalid_credentials | The SAT [Credential](#tag/Credentials) is no longer valid. | No || login_failed | We couldn't log in with the SAT credential. | Yes || unrecoverable | The extraction process failed many times, and we reached a maximum number of retries. | Yes || sat_unavailable | We detected that SAT itself is down or unresponsive. | Yes || internal_error | We detected an internal error in our own infrastructure. | Yes || undefined | We couldn't determine the error cause and our internal team will investigate it. | Yes |

Syntage Extractions API is one of 65 APIs that Syntage publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Extractions. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, and a getting-started guide.

This API exposes 4 operations across 3 paths, and defines 18 schemas. It is described by OpenAPI 3.2.0, at version 2020-06-28.

Requests are made against 2 base URLs: https://api.syntage.com, https://api.sandbox.syntage.com.

4 operations 3 paths 18 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2020-06-28
Base URL
https://api.syntage.com
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

Syntage Extractions API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-Key (ApiKey). By default, every request must be authenticated.

  • ApiKey — Your API key is available in the [Production](https://app.syntage.com/settings/api-keys) and [Sandbox](https://app.sandbox.syntage.com/settings/api-keys) dashb…

Paths & Operations 4

Across 3 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Extractions 4

Extractions are tasks that retrieve data for an entity from a datasource. They are used to collect invoices, tax returns, tax status, tax compliance checks, RPC records, RUG guara…

POST
/extractions
Create an extraction
CreateExtraction body → 202400401409
GET
/extractions
List all extractions
ListExtraction 23 params → 200401
GET
/extractions/{id}
Retrieve an extraction
GetExtraction 1 param → 200401404
DELETE
/extractions/{id}/stop
Request the extraction to be stopped
StopExtraction 1 param → 204401404

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are Extraction (15 properties), CursorCollection (6 properties), Taxpayer (6 properties). Each schema is shown below with its type and property counts.

ExtractionStatus
string
updatedAt
string
Date and time the resource was last updated
ExtractionExtractor
string
Extractor to run, which retrieves resources from the corresponding datasource
ExtractionRateLimitedAt
string
This field returns a date when the taxpayer reached the max amount of downloaded CFDI files allowed by SAT in a range of 24hrs. You should retry this extractio…
ExtractionCollection
CollectionOrder
string
createdAt
string
Date and time the resource was created
ExtractionCreatedDataPoints
integer
This is the number of created resources. For example, if 1 invoice was created with its XML and PDF file this value should be 3. And If you previously extracte…
ExtractionUpdatedDataPoints
integer
When your taxpayer has resources by a previous extraction and new extraction found changes between our data and Sat data it would update this resource. For exa…
CursorCollection
object
6 properties
ExtractionOptions
object
Extractor options; check the available options for each extractor in [Extractions](https://docs.syntage.com/api-reference/extractions/overviewextractors)
TaxpayerName
string
Taxpayer name
TaxpayerID
string
RFC (Registro Federal de Contribuyentes)
Extraction
object
15 properties
TaxpayerPersonType
string
ExtractionErrorCode
stringnull
[Extraction error code](section/Extraction-error-codes)
CollectionLimit
integer
Taxpayer
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

syntage-extractions-api-openapi.yml Raw ↑

Other APIs Syntage publishes across the network.

Syntage Accounts Payable Insight API
Syntage Accounts Receivable Insight API
Syntage Background Checks API
Syntage Balance Sheet Insight API
Syntage Cash Flow Insight API
Syntage Company Verification Reports API
Syntage Corporate Structure Insight API
Syntage Customer Concentration Insight API
Syntage Customer Network Insight API
Syntage DS MX BIL Reports API
Syntage DS MX Buró de Crédito Authorizations API
Syntage DS MX Buró de Crédito Reports API
Where this information came from

This is an independent, third-party profile of Syntage Extractions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.