Ntropy Transaction API (1.0)
The world's most powerful, multi-geo, multi-lingual transaction categorization API.
Enrich and add transactions to the ledger of account holders synchronously.
Add transactions to the ledgers of account holders and get back enriched version of the transactions in the response. Accepts batch sizes up to 4k transactions. A single transaction should take ~100ms. A batch of 4000 transactions should take ~40s.
Authorizations:
Request Body schema: application/jsonrequired
transaction_id required | string (Transaction Id) non-empty A unique identifier of the transaction |
account_holder_id | string (Account Holder Id) non-empty The unique ID of the account holder of the transaction |
account_holder_type | string (AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" The type of an account holder, may be one of 'consumer', 'business', 'freelance' or 'unknown'. Only used when create_account_holder is true. |
amount required | number (Amount) >= 0 The amount of the transaction |
entry_type required | any (EntryType) Enum: "incoming" "outgoing" The direction of the transaction (incoming or outgoing) |
date required | string <date> (Date) The date that the transaction was posted. Uses ISO 8601 format (YYYY-MM-DD) |
iso_currency_code required | string (Iso Currency Code) The currency of the transaction in ISO 4217 format |
description required | string (Description) [ 0 .. 1024 ] characters The description string of the transaction |
location | string (Location) [ 0 .. 1024 ] characters Location where the transaction occurred in |
country | string (Country) [A-Z]{2}(-[A-Z0-9]{1,3})? The country where the transaction was made in ISO 3166-2 format |
mcc | integer (Mcc) [ 700 .. 9999 ] The Merchant Category Code of the merchant according to ISO 18245 |
Responses
Request samples
- Payload
- cURL
- Python SDK
[- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "account_holder_id": "35b927b6-6fda-40aa-93b8-95b47c2b2cad",
- "amount": 10,
- "entry_type": "outgoing",
- "date": "2022-02-02",
- "iso_currency_code": "USD",
- "country": "US",
- "description": "SQ* STARBUCKS UNION SQUARE"
}
]
Response samples
- 200
- 404
- 422
[- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "website": "starbucks.com",
- "location": "10 Union Square East, New York, New York 10003, US",
- "location_structured": {
- "address": "10 Union Square East",
- "city": "New York",
- "state": "New York",
- "postcode": "10003",
- "country": "US",
- "latitude": "48.734834",
- "longitude": "-73.989782",
}, - "merchant": "Starbucks",
- "merchant_id": "d4bc3c80-ec1a-3da2-836e-2a4ca4758be5",
- "labels": [
- "Cafes and coffee shop"
], - "recurrence": "recurring",
- "recurrence_group": {
- "id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "first_payment_date": "2020-02-02",
- "latest_payment_date": "2022-02-02",
- "total_amount": 240,
- "average_amount": 10,
- "periodicity_in_days": 31,
- "periodicity": "monthly",
- "other_party": "starbucks.com",
- "transaction_ids": [
- "b708fbd8-be76-41c2-86d5-83f8ba05ed85",
- "0e34b24d-646d-416e-8d51-fda5b6e10684"
]
}, - "recurrence_group_id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "intermediaries": [
- {
- "id": "916bc837-55ef-3106-88f6-5a8269ca9f2a",
- "name": "Square",
- "website": "squareup.com",
}
]
}
]
Enrich and add transactions to the ledger of account holders asynchronously.
Add a batch of transactions to the ledgers of account holders. Return the batch id that has been assigned to this batch. A batch of 24960 transactions should take 5-10mins.
Authorizations:
Request Body schema: application/jsonrequired
transaction_id required | string (Transaction Id) non-empty A unique identifier of the transaction |
account_holder_id | string (Account Holder Id) non-empty The unique ID of the account holder of the transaction |
account_holder_type | string (AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" The type of an account holder, may be one of 'consumer', 'business', 'freelance' or 'unknown'. Only used when create_account_holder is true. |
amount required | number (Amount) >= 0 The amount of the transaction |
entry_type required | any (EntryType) Enum: "incoming" "outgoing" The direction of the transaction (incoming or outgoing) |
date required | string <date> (Date) The date that the transaction was posted. Uses ISO 8601 format (YYYY-MM-DD) |
iso_currency_code required | string (Iso Currency Code) The currency of the transaction in ISO 4217 format |
description required | string (Description) [ 0 .. 1024 ] characters The description string of the transaction |
location | string (Location) [ 0 .. 1024 ] characters Location where the transaction occurred in |
country | string (Country) [A-Z]{2}(-[A-Z0-9]{1,3})? The country where the transaction was made in ISO 3166-2 format |
mcc | integer (Mcc) [ 700 .. 9999 ] The Merchant Category Code of the merchant according to ISO 18245 |
Responses
Request samples
- Payload
- cURL
- Python SDK
[- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "account_holder_id": "35b927b6-6fda-40aa-93b8-95b47c2b2cad",
- "amount": 10,
- "entry_type": "outgoing",
- "date": "2022-02-02",
- "iso_currency_code": "USD",
- "country": "US",
- "description": "SQ* STARBUCKS UNION SQUARE"
}
]
Response samples
- 202
- 404
- 422
{- "id": "247ee045-3d04-4b3c-872b-a9160b810f33",
- "progress": 88,
- "status": "started",
- "updated_at": "2019-11-30T18:32:28Z"
}
Fetch the result of a batch transaction enrichment.
Get a result of batch transaction enrichments. The id field should be as returned by /v2/transactions/async.
Authorizations:
path Parameters
id required | string (Id) = 36 characters Example: 247ee045-3d04-4b3c-872b-a9160b810f33 Batch id. |
Responses
Request samples
- cURL
curl -X "GET" \ "https://api.ntropy.com/v2/transactions/async/{batch_id}" \ -H "accept: application/json" \ -H "X-API-KEY: $NTROPY_API_KEY"
Response samples
- 200
- 422
{- "id": "247ee045-3d04-4b3c-872b-a9160b810f33",
- "progress": 88,
- "status": "started",
- "updated_at": "2019-11-30T18:32:28Z"
}
Gets a list of the registered account holders
Authorizations:
query Parameters
page | integer (Page) Default: 0 |
per_page | integer (Per Page) Default: 50 |
query | string (Query) |
sort_by | string (Sort By) Default: "created_at" |
sort_order | string (Sort Order) Default: "desc" |
named_only | boolean (Named Only) Default: false |
with_confidence | boolean (With Confidence) Default: false |
Responses
Response samples
- 200
- 422
[- {
- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
]
Gets a list of the registered account holders
Authorizations:
query Parameters
page | integer (Page) Default: 0 |
per_page | integer (Per Page) Default: 50 |
query | string (Query) |
sort_by | string (Sort By) Default: "created_at" |
sort_order | string (Sort Order) Default: "desc" |
named_only | boolean (Named Only) Default: false |
with_confidence | boolean (With Confidence) Default: false |
Responses
Response samples
- 200
- 422
[- {
- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
]
Create an account holder.
Create an account holder and start tracking its ledger. The account holder can be a consumer, business, freelancer or unknown.
Authorizations:
Request Body schema: application/jsonrequired
type required | string (ntropy_server__schemas__account_holder__AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" An enumeration. |
name | string (Name) |
industry | string (Industry) |
website | string (Website) |
object (AccountHolderCompany) | |
id | string (Id) |
Responses
Request samples
- Payload
- cURL
- Python SDK
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Response samples
- 200
- 422
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Create an account holder.
Create an account holder and start tracking its ledger. The account holder can be a consumer, business, freelancer or unknown.
Authorizations:
Request Body schema: application/jsonrequired
type required | string (ntropy_server__schemas__account_holder__AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" An enumeration. |
name | string (Name) |
industry | string (Industry) |
website | string (Website) |
object (AccountHolderCompany) | |
id | string (Id) |
Responses
Request samples
- Payload
- cURL
- Python SDK
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Response samples
- 200
- 422
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Retrieve the information of an account holder.
Retrieve the information of an account holder.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Responses
Request samples
- cURL
- Python SDK
curl -X "GET" \ "https://api.ntropy.com/v2/account-holder/{account_holder_id}" \ -H "accept: application/json" \ -H "X-API-KEY: $NTROPY_API_KEY"
Response samples
- 200
- 422
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Retrieve the information of an account holder.
Retrieve the information of an account holder.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Responses
Request samples
- cURL
- Python SDK
curl -X "GET" \ "https://api.ntropy.com/v2/account-holder/{account_holder_id}" \ -H "accept: application/json" \ -H "X-API-KEY: $NTROPY_API_KEY"
Response samples
- 200
- 422
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Replace an existing account holder.
Replace a existing account holder and start tracking its ledger. The account holder can be a consumer, business, freelancer or unknown.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
type required | string (ntropy_server__schemas__account_holder__AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" An enumeration. |
name | string (Name) |
industry | string (Industry) |
website | string (Website) |
object (AccountHolderCompany) |
Responses
Request samples
- Payload
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Response samples
- 200
- 422
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Replace an existing account holder.
Replace a existing account holder and start tracking its ledger. The account holder can be a consumer, business, freelancer or unknown.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
type required | string (ntropy_server__schemas__account_holder__AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" An enumeration. |
name | string (Name) |
industry | string (Industry) |
website | string (Website) |
object (AccountHolderCompany) |
Responses
Request samples
- Payload
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Response samples
- 200
- 422
{- "id": "67890",
- "type": "business",
- "name": "Ntropy Network Inc.",
- "industry": "fintech",
- "website": "ntropy.com"
}
Delete an account holder.
Delete an account holder and all of its ledger. This operation is permanent.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Responses
Request samples
- cURL
- Python SDK
curl -X "DELETE" \ "https://api.ntropy.com/v2/account-holder/{account_holder_id}" \ -H "accept: application/json" \ -H "X-API-KEY: $NTROPY_API_KEY"
Response samples
- 200
- 422
{- "status": "success"
}
Delete an account holder.
Delete an account holder and all of its ledger. This operation is permanent.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Responses
Request samples
- cURL
- Python SDK
curl -X "DELETE" \ "https://api.ntropy.com/v2/account-holder/{account_holder_id}" \ -H "accept: application/json" \ -H "X-API-KEY: $NTROPY_API_KEY"
Response samples
- 200
- 422
{- "status": "success"
}
Renames an existing account-holder
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
name required | string (Name) |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
- 422
null
Renames an existing account-holder
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
name required | string (Name) |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
- 422
null
Query the transaction ledger of an account holder.
Submit a query to the transaction ledger of an account holder.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
metrics | Array of strings (AccountHolderMetricType) Items Enum: "overall_stats" "stats_by_label" "stats_by_merchant" |
start required | string <date-time> (Start) |
end required | string <date-time> (End) |
Responses
Request samples
- Payload
- cURL
- Python SDK
{- "end": "2022-02-01T00:00:00",
- "metrics": [
- "overall_stats",
- "stats_by_label",
- "stats_by_merchant"
], - "start": "2022-01-01T00:00:00"
}
Response samples
- 200
- 422
{- "overall_stats": {
- "incoming": {
- "MXN": {
- "count": 1,
- "max": 10,
- "mean": 10,
- "min": 10,
- "std": 0,
- "sum": 10
}, - "USD": {
- "count": 2,
- "max": 50,
- "mean": 50,
- "min": 50,
- "std": 0,
- "sum": 100
}
}, - "outgoing": {
- "USD": {
- "count": 1,
- "max": 100,
- "mean": 100,
- "min": 100,
- "std": 0,
- "sum": 100
}
}
}, - "stats_by_label": {
- "employee spend - food and drink - groceries": {
- "outgoing": {
- "USD": {
- "count": 10,
- "max": 12.5,
- "mean": 12.5,
- "min": 12.5,
- "std": 0,
- "sum": 125
}
}
}
}, - "stats_by_merchant": {
- "Amazon Web Services": {
- "outgoing": {
- "USD": {
- "count": 1,
- "max": 100,
- "mean": 100,
- "min": 100,
- "std": 0,
- "sum": 100
}
}
}, - "Apple": {
- "outgoing": {
- "USD": {
- "count": 1,
- "max": 2499,
- "mean": 2499,
- "min": 2499,
- "std": 0,
- "sum": 2499
}
}
}
}
}
Query the transaction ledger of an account holder.
Submit a query to the transaction ledger of an account holder.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
metrics | Array of strings (AccountHolderMetricType) Items Enum: "overall_stats" "stats_by_label" "stats_by_merchant" |
start required | string <date-time> (Start) |
end required | string <date-time> (End) |
Responses
Request samples
- Payload
- cURL
- Python SDK
{- "end": "2022-02-01T00:00:00",
- "metrics": [
- "overall_stats",
- "stats_by_label",
- "stats_by_merchant"
], - "start": "2022-01-01T00:00:00"
}
Response samples
- 200
- 422
{- "overall_stats": {
- "incoming": {
- "MXN": {
- "count": 1,
- "max": 10,
- "mean": 10,
- "min": 10,
- "std": 0,
- "sum": 10
}, - "USD": {
- "count": 2,
- "max": 50,
- "mean": 50,
- "min": 50,
- "std": 0,
- "sum": 100
}
}, - "outgoing": {
- "USD": {
- "count": 1,
- "max": 100,
- "mean": 100,
- "min": 100,
- "std": 0,
- "sum": 100
}
}
}, - "stats_by_label": {
- "employee spend - food and drink - groceries": {
- "outgoing": {
- "USD": {
- "count": 10,
- "max": 12.5,
- "mean": 12.5,
- "min": 12.5,
- "std": 0,
- "sum": 125
}
}
}
}, - "stats_by_merchant": {
- "Amazon Web Services": {
- "outgoing": {
- "USD": {
- "count": 1,
- "max": 100,
- "mean": 100,
- "min": 100,
- "std": 0,
- "sum": 100
}
}
}, - "Apple": {
- "outgoing": {
- "USD": {
- "count": 1,
- "max": 2499,
- "mean": 2499,
- "min": 2499,
- "std": 0,
- "sum": 2499
}
}
}
}
}
List transactions of an account holder.
Fetch all the transactions in the transaction ledger of an account holder.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
query Parameters
page | integer (Page) Default: 0 Page number |
per_page | integer (Per Page) [ 1 .. 1000 ] Default: 100 How many items per page |
sort_by | string (Sort By) Column to sort items by, allowed values are |
sort_order | string (SortOrder) Default: "desc" Enum: "asc" "desc" Sorting direction |
Responses
Request samples
- cURL
curl -X "GET" \ "https://api.ntropy.com/v2/account-holder/{account_holder_id}/transactions?page=0&per_page=1000" \ -H "accept: application/json" \ -H "X-API-KEY: $NTROPY_API_KEY"
Response samples
- 200
- 422
{- "transactions": [
- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "website": "starbucks.com",
- "location": "10 Union Square East, New York, New York 10003, US",
- "location_structured": {
- "address": "10 Union Square East",
- "city": "New York",
- "state": "New York",
- "postcode": "10003",
- "country": "US",
- "latitude": "48.734834",
- "longitude": "-73.989782",
}, - "merchant": "Starbucks",
- "merchant_id": "d4bc3c80-ec1a-3da2-836e-2a4ca4758be5",
- "labels": [
- "Cafes and coffee shop"
], - "recurrence": "recurring",
- "recurrence_group": {
- "id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "first_payment_date": "2020-02-02",
- "latest_payment_date": "2022-02-02",
- "total_amount": 240,
- "average_amount": 10,
- "periodicity_in_days": 31,
- "periodicity": "monthly",
- "other_party": "starbucks.com",
- "transaction_ids": [
- "b708fbd8-be76-41c2-86d5-83f8ba05ed85",
- "0e34b24d-646d-416e-8d51-fda5b6e10684"
]
}, - "recurrence_group_id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "intermediaries": [
- {
- "id": "916bc837-55ef-3106-88f6-5a8269ca9f2a",
- "name": "Square",
- "website": "squareup.com",
}
]
}
], - "pages": 0
}
Correct any property for multiple transactions.
Provide a correction for any field of a set of previously enriched transactions by transaction_id.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
transaction_ids required | Array of strings (Transaction Ids) |
required | Array of objects (Corrections) |
Responses
Request samples
- Payload
{- "transaction_ids": [
- "string"
], - "corrections": [
- {
- "logo": "string",
- "website": "string",
- "location": "string",
- "location_structured": null,
- "merchant": "string",
- "labels": [
- "string"
], - "recurrence": null,
- "person": "string",
- "transaction_type": null,
- "intermediaries": [
- null
], - "review_state": "incomplete"
}
]
}
Response samples
- 200
- 422
[- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "website": "starbucks.com",
- "location": "10 Union Square East, New York, New York 10003, US",
- "location_structured": {
- "address": "10 Union Square East",
- "city": "New York",
- "state": "New York",
- "postcode": "10003",
- "country": "US",
- "latitude": "48.734834",
- "longitude": "-73.989782",
}, - "merchant": "Starbucks",
- "merchant_id": "d4bc3c80-ec1a-3da2-836e-2a4ca4758be5",
- "labels": [
- "Cafes and coffee shop"
], - "recurrence": "recurring",
- "recurrence_group": {
- "id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "first_payment_date": "2020-02-02",
- "latest_payment_date": "2022-02-02",
- "total_amount": 240,
- "average_amount": 10,
- "periodicity_in_days": 31,
- "periodicity": "monthly",
- "other_party": "starbucks.com",
- "transaction_ids": [
- "b708fbd8-be76-41c2-86d5-83f8ba05ed85",
- "0e34b24d-646d-416e-8d51-fda5b6e10684"
]
}, - "recurrence_group_id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "intermediaries": [
- {
- "id": "916bc837-55ef-3106-88f6-5a8269ca9f2a",
- "name": "Square",
- "website": "squareup.com",
}
]
}
]
Get transactions of an account holder by transaction id.
Fetch all the transactions matching given transaction ids in the transaction ledger of an account holder. Transactions returned will be in arbitrary order.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
query Parameters
page | integer (Page) Default: 0 Page number |
per_page | integer (Per Page) [ 1 .. 1000 ] Default: 100 How many items per page |
sort_by | string (Sort By) Column to sort items by, allowed values are |
sort_order | string (SortOrder) Default: "desc" Enum: "asc" "desc" Sorting direction |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
- cURL
[- "string"
]
Response samples
- 200
- 422
{- "transactions": [
- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "website": "starbucks.com",
- "location": "10 Union Square East, New York, New York 10003, US",
- "location_structured": {
- "address": "10 Union Square East",
- "city": "New York",
- "state": "New York",
- "postcode": "10003",
- "country": "US",
- "latitude": "48.734834",
- "longitude": "-73.989782",
}, - "merchant": "Starbucks",
- "merchant_id": "d4bc3c80-ec1a-3da2-836e-2a4ca4758be5",
- "labels": [
- "Cafes and coffee shop"
], - "recurrence": "recurring",
- "recurrence_group": {
- "id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "first_payment_date": "2020-02-02",
- "latest_payment_date": "2022-02-02",
- "total_amount": 240,
- "average_amount": 10,
- "periodicity_in_days": 31,
- "periodicity": "monthly",
- "other_party": "starbucks.com",
- "transaction_ids": [
- "b708fbd8-be76-41c2-86d5-83f8ba05ed85",
- "0e34b24d-646d-416e-8d51-fda5b6e10684"
]
}, - "recurrence_group_id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "intermediaries": [
- {
- "id": "916bc837-55ef-3106-88f6-5a8269ca9f2a",
- "name": "Square",
- "website": "squareup.com",
}
]
}
], - "pages": 0
}
Correct any transaction property.
Provide a correction for any field of a previously enriched transaction.
Authorizations:
path Parameters
transaction_id required | string (Transaction Id) |
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
logo | string (Logo) |
website | string (Website) |
location | string (Location) |
location_structured | any (Location Structured) |
merchant | string (Merchant) |
labels | Array of strings (Labels) |
recurrence | any (Recurrence) |
person | string (Person) |
transaction_type | any (Transaction Type) |
intermediaries | Array of any (Intermediaries) |
review_state | string (ReviewState) Enum: "incomplete" "satisfied" "forced" An enumeration. |
Responses
Request samples
- Payload
{- "logo": "string",
- "website": "string",
- "location": "string",
- "location_structured": null,
- "merchant": "string",
- "labels": [
- "string"
], - "recurrence": null,
- "person": "string",
- "transaction_type": null,
- "intermediaries": [
- null
], - "review_state": "incomplete"
}
Response samples
- 200
- 422
{- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "website": "starbucks.com",
- "location": "10 Union Square East, New York, New York 10003, US",
- "location_structured": {
- "address": "10 Union Square East",
- "city": "New York",
- "state": "New York",
- "postcode": "10003",
- "country": "US",
- "latitude": "48.734834",
- "longitude": "-73.989782",
}, - "merchant": "Starbucks",
- "merchant_id": "d4bc3c80-ec1a-3da2-836e-2a4ca4758be5",
- "labels": [
- "Cafes and coffee shop"
], - "recurrence": "recurring",
- "recurrence_group": {
- "id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "first_payment_date": "2020-02-02",
- "latest_payment_date": "2022-02-02",
- "total_amount": 240,
- "average_amount": 10,
- "periodicity_in_days": 31,
- "periodicity": "monthly",
- "other_party": "starbucks.com",
- "transaction_ids": [
- "b708fbd8-be76-41c2-86d5-83f8ba05ed85",
- "0e34b24d-646d-416e-8d51-fda5b6e10684"
]
}, - "recurrence_group_id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "intermediaries": [
- {
- "id": "916bc837-55ef-3106-88f6-5a8269ca9f2a",
- "name": "Square",
- "website": "squareup.com",
}
]
}
Gets account holder profit and loss for the specified account holder id
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
query Parameters
date_interval | string (Date Interval) Default: "quarter" Enum: "day" "month" "quarter" "year" |
date_min | string <date> (Date Min) |
date_max | string <date> (Date Max) |
Responses
Response samples
- 200
- 422
{ }
Gets account holder cash flow for the specified account holder id
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
query Parameters
date_interval | string (Date Interval) Default: "quarter" Enum: "day" "month" "quarter" "year" |
date_min | string <date> (Date Min) |
date_max | string <date> (Date Max) |
Responses
Response samples
- 200
- 422
{ }
Categorize an account holder's histories income by their frequency and type
Given the history of transactions of an account holder, determines income sources based on grouping transactions by income groups accounting for their amounts, frequency, source and other properties. The information returned is a summary of all income groups for this account holder.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Responses
Response samples
- 200
- 422
[- {
- "total_amount": 0,
- "source": "string",
- "merchant_id": "string",
- "is_active": true,
- "income_type": "salary",
- "first_payment_date": "string",
- "latest_payment_date": "string",
- "duration": "string",
- "latest_payment_description": "string",
- "transaction_ids": [
- "string"
], - "pay_frequency": "daily",
- "next_expected_payment_date": "string",
- "next_expected_payment_amount": 0
}
]
Identify existing recurring payments for an account holder's transaction history.
Given the history of transactions of an account holder, determines existing recurring payments and related properties such as the type (subscription or bill), amount, periodicity, etc...
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Responses
Response samples
- 200
- 422
[- {
- "periodicity": "daily",
- "latest_payment_amount": 0,
- "total_amount": 0,
- "merchant": "string",
- "merchant_id": "string",
- "logo": "string",
- "website": "string",
- "labels": [
- "string"
], - "first_payment_date": "string",
- "latest_payment_date": "string",
- "transaction_ids": [
- "string"
], - "is_active": true,
- "next_expected_payment_date": "string",
- "latest_payment_description": "string",
- "type": "string",
- "is_essential": true,
- "iso_currency_code": "string"
}
]
Gets account holder risk factors using the existing risk factor definitions
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Responses
Response samples
- 200
- 422
[- {
- "definition": {
- "title": "string",
- "description": "string",
- "severity": "info",
- "filter": {
- "type": "numeric",
- "field": "string",
- "op": "eq",
- "value": 0
}, - "trigger": "none",
- "id": "string"
}, - "num_transactions": 0,
- "credit_amount": 0,
- "debit_amount": 0,
- "min_date": "2019-08-24",
- "max_date": "2019-08-24"
}
]
Submit and view bank statements.
A list of error codes for the FAILED
status can be found below:
code | description |
---|---|
301 | Failed to parse document as bank statement. |
301 | Failed to enrich transactions in bank statement. |
500 | Unexpected error. Please contact support. |
Retrieves paginated information of multiple bank statements
Authorizations:
query Parameters
status | string (DocumentStatus) Enum: "queued" "processing" "processed" "failed" The status of the document to filter on |
account_holder_id | string (Account Holder Id)
|
page | integer (Page) >= 0 Default: 0 The page number to retrieve |
per_page | integer (Per Page) [ 1 .. 1000 ) Default: 20 The page size to retrieve |
order_by | string (Order By) Default: "desc" Enum: "desc" "asc" The sorting order by creation |
query | string (Query) |
Responses
Response samples
- 200
- 422
[- {
- "id": "string",
- "name": "string",
- "size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "account_holder_id": "string",
- "account_type": "consumer",
- "status": "queued",
- "bank_accounts": [
- null
], - "statements": [
- null
], - "error_code": 0,
- "error": "string",
- "complete": true,
- "batch_id": "string",
- "file": {
- "no_pages": 0,
- "size": 0
}
}
]
Submit a bank statement PDF
Creates a new dataset from a bank statement and queues it for enrichment. The maximum size of the statement must be less than 50.0 MB
Authorizations:
query Parameters
account_holder_id | string (Account Holder Id) ID for account holder. If no account holder with the given id exists, one will be created with |
account_type | string (AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" Type of account holder to use when it is being created. Otherwise it'll override the type of the existing one for the transactions on this bank statement. |
iso_currency_code | string (Iso Currency Code) The currency of transactions in the bank statement in ISO 4217 format. Defaults to |
Request Body schema: multipart/form-datarequired
file required | string <binary> (File) |
Responses
Response samples
- 200
- 422
{- "id": "string",
- "name": "string",
- "size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "account_holder_id": "string",
- "account_type": "consumer",
- "status": "queued",
- "bank_accounts": [
- null
], - "statements": [
- null
], - "error_code": 0,
- "error": "string",
- "complete": true,
- "batch_id": "string",
- "file": {
- "no_pages": 0,
- "size": 0
}
}
Retrieve information of a bank statement
Authorizations:
path Parameters
uuid required | string (Uuid) The unique ID of the bank statement |
Responses
Response samples
- 200
- 422
{- "id": "string",
- "name": "string",
- "size": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "account_holder_id": "string",
- "account_type": "consumer",
- "status": "queued",
- "bank_accounts": [
- null
], - "statements": [
- null
], - "error_code": 0,
- "error": "string",
- "complete": true,
- "batch_id": "string",
- "file": {
- "no_pages": 0,
- "size": 0
}
}
Change information of an existing bank statement
Authorizations:
path Parameters
uuid required | string (Uuid) |
Request Body schema: application/jsonrequired
name required | string (Name) |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
- 422
null
Gets the enriched transactions for a bank statement
Authorizations:
path Parameters
uuid required | string (Uuid) |
query Parameters
page | integer (Page) Default: 0 Page number |
per_page | integer (Per Page) [ 1 .. 1000 ] Default: 100 How many items per page |
sort_by | string (Sort By) Column to sort items by, allowed values are |
sort_order | string (SortOrder) Default: "desc" Enum: "asc" "desc" Sorting direction |
Responses
Response samples
- 200
- 422
[- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "website": "starbucks.com",
- "location": "10 Union Square East, New York, New York 10003, US",
- "location_structured": {
- "address": "10 Union Square East",
- "city": "New York",
- "state": "New York",
- "postcode": "10003",
- "country": "US",
- "latitude": "48.734834",
- "longitude": "-73.989782",
}, - "merchant": "Starbucks",
- "merchant_id": "d4bc3c80-ec1a-3da2-836e-2a4ca4758be5",
- "labels": [
- "Cafes and coffee shop"
], - "recurrence": "recurring",
- "recurrence_group": {
- "id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "first_payment_date": "2020-02-02",
- "latest_payment_date": "2022-02-02",
- "total_amount": 240,
- "average_amount": 10,
- "periodicity_in_days": 31,
- "periodicity": "monthly",
- "other_party": "starbucks.com",
- "transaction_ids": [
- "b708fbd8-be76-41c2-86d5-83f8ba05ed85",
- "0e34b24d-646d-416e-8d51-fda5b6e10684"
]
}, - "recurrence_group_id": "3b0c689b-e123-30a6-9f53-878f3ebf46aa",
- "intermediaries": [
- {
- "id": "916bc837-55ef-3106-88f6-5a8269ca9f2a",
- "name": "Square",
- "website": "squareup.com",
}
]
}
]
Set the personalization ruleset.
Set the personalization ruleset.
Authorizations:
Request Body schema: application/jsonrequired
required | boolean (boolean) or string (string) or number (number) or (function (&& (object) or || (object) or == (object) or + (object) or - (object) or * (object) or / (object) or // (object) or < (object) or <= (object) or > (object) or >= (object) or ! (object) or is_substring (object) or to_lower (object) or to_upper (object) or has_label (object) or has_mcc (object) or get property (object))) (Expr) |
Array of if (object) or (modify labels (add_label (object) or remove_label (object) or set_labels (object) or add_mcc (object) or remove_mcc (object) or set_mcc (object))) or set (object) (action) | |
Array of if (object) or (modify labels (add_label (object) or remove_label (object) or set_labels (object) or add_mcc (object) or remove_mcc (object) or set_mcc (object))) or set (object) (action) |
Responses
Request samples
- Payload
- cURL
[- {
- "if": {
- "is_substring": [
- {
- "get": "website"
}, - "ntropy"
]
}, - "else": [
- {
- "remove_label": "example label"
}
]
}
]
Response samples
- 200
- 422
null
Get an account holder's personalization ruleset.
Get an account holder's personalization ruleset.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Responses
Response samples
- 200
- 422
[- {
- "if": {
- "is_substring": [
- {
- "get": "website"
}, - "ntropy"
]
}, - "else": [
- {
- "remove_label": "example label"
}
]
}
]
Set an account holder's personalization ruleset.
Set an account holder's personalization ruleset.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
required | boolean (boolean) or string (string) or number (number) or (function (&& (object) or || (object) or == (object) or + (object) or - (object) or * (object) or / (object) or // (object) or < (object) or <= (object) or > (object) or >= (object) or ! (object) or is_substring (object) or to_lower (object) or to_upper (object) or has_label (object) or has_mcc (object) or get property (object))) (Expr) |
Array of if (object) or (modify labels (add_label (object) or remove_label (object) or set_labels (object) or add_mcc (object) or remove_mcc (object) or set_mcc (object))) or set (object) (action) | |
Array of if (object) or (modify labels (add_label (object) or remove_label (object) or set_labels (object) or add_mcc (object) or remove_mcc (object) or set_mcc (object))) or set (object) (action) |
Responses
Request samples
- Payload
- cURL
[- {
- "if": {
- "is_substring": [
- {
- "get": "website"
}, - "ntropy"
]
}, - "else": [
- {
- "remove_label": "example label"
}
]
}
]
Response samples
- 200
- 422
null
Append a rule.
Append a rule to the personalization ruleset.
Authorizations:
Request Body schema: application/jsonrequired
required | boolean (boolean) or string (string) or number (number) or (function (&& (object) or || (object) or == (object) or + (object) or - (object) or * (object) or / (object) or // (object) or < (object) or <= (object) or > (object) or >= (object) or ! (object) or is_substring (object) or to_lower (object) or to_upper (object) or has_label (object) or has_mcc (object) or get property (object))) (Expr) |
then | Array of any (action) |
else | Array of any (action) |
Responses
Request samples
- Payload
- cURL
{- "if": true,
- "then": [
- {
- "if": true,
- "then": [ ],
- "else": [
- null
]
}
], - "else": [
- {
- "if": true,
- "then": [
- null
], - "else": [ ]
}
]
}
Response samples
- 200
- 422
null
Append a rule to an account holder's personalization ruleset.
Append a rule to an account holder's personalization ruleset.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
Request Body schema: application/jsonrequired
required | boolean (boolean) or string (string) or number (number) or (function (&& (object) or || (object) or == (object) or + (object) or - (object) or * (object) or / (object) or // (object) or < (object) or <= (object) or > (object) or >= (object) or ! (object) or is_substring (object) or to_lower (object) or to_upper (object) or has_label (object) or has_mcc (object) or get property (object))) (Expr) |
then | Array of any (action) |
else | Array of any (action) |
Responses
Request samples
- Payload
- cURL
{- "if": true,
- "then": [
- {
- "if": true,
- "then": [ ],
- "else": [
- null
]
}
], - "else": [
- {
- "if": true,
- "then": [
- null
], - "else": [ ]
}
]
}
Response samples
- 200
- 422
null
Delete a rule.
Delete the rule at the specified index from the personalization ruleset.
Authorizations:
path Parameters
index required | integer (Index) |
Responses
Request samples
- cURL
curl -X "DELETE" \ "https://api.ntropy.com/v2/rules/0" \ -H "accept: */*" \ -H "X-API-KEY: $NTROPY_API_KEY" \
Response samples
- 200
- 422
null
Modify an existing rule.
Modify an existing rule at the specified index on the ruleset.
Authorizations:
path Parameters
index required | integer (Index) |
Request Body schema: application/jsonrequired
required | boolean (boolean) or string (string) or number (number) or (function (&& (object) or || (object) or == (object) or + (object) or - (object) or * (object) or / (object) or // (object) or < (object) or <= (object) or > (object) or >= (object) or ! (object) or is_substring (object) or to_lower (object) or to_upper (object) or has_label (object) or has_mcc (object) or get property (object))) (Expr) |
then | Array of any (action) |
else | Array of any (action) |
Responses
Request samples
- Payload
- cURL
{- "if": true,
- "then": [
- {
- "if": true,
- "then": [ ],
- "else": [
- null
]
}
], - "else": [
- {
- "if": true,
- "then": [
- null
], - "else": [ ]
}
]
}
Response samples
- 200
- 422
null
Delete a rule from an account holder's ruleset.
Delete the rule at the specified index from the account holder's personalization ruleset.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
index required | integer (Index) |
Responses
Request samples
- cURL
curl -X "DELETE" \ "https://api.ntropy.com/v2/account-holder/{account_holder_id}}/rules/0" \ -H "accept: */*" \ -H "X-API-KEY: $NTROPY_API_KEY" \
Response samples
- 200
- 422
null
Modify an existing rule for an account holder's ruleset.
Modify an existing rule at the specified index on the account holder's ruleset.
Authorizations:
path Parameters
account_holder_id required | string (Account Holder Id) |
index required | integer (Index) |
Request Body schema: application/jsonrequired
required | boolean (boolean) or string (string) or number (number) or (function (&& (object) or || (object) or == (object) or + (object) or - (object) or * (object) or / (object) or // (object) or < (object) or <= (object) or > (object) or >= (object) or ! (object) or is_substring (object) or to_lower (object) or to_upper (object) or has_label (object) or has_mcc (object) or get property (object))) (Expr) |
then | Array of any (action) |
else | Array of any (action) |
Responses
Request samples
- Payload
- cURL
{- "if": true,
- "then": [
- {
- "if": true,
- "then": [ ],
- "else": [
- null
]
}
], - "else": [
- {
- "if": true,
- "then": [
- null
], - "else": [ ]
}
]
}
Response samples
- 200
- 422
null
Get the hierarchy of Ntropy labels
Get the hierarchy of Ntropy labels
Authorizations:
path Parameters
account_holder_type required | string (AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" An enumeration. |
Responses
Response samples
- 200
- 422
{ }
Get a custom label hierarchy
Get a custom label hierarchy
Authorizations:
path Parameters
account_holder_type required | string (AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" An enumeration. |
Responses
Response samples
- 200
- 422
{- "direct": {
- "incoming": [
- "string"
], - "outgoing": [
- "string"
]
}
}
Upload a custom label hierarchy
Upload a custom label hierarchy. It can be either a mapped hierarchy, or a direct hierarchy. For a mapped hierarchy, a mapping will be generated from the Ntropy label hierarchy to the custom label hierarchy. Changes to a mapped hierarchy can be retroactively applied, but not for a direct hierarchy. Transactions that don't match a label will be labeled not enough information
regardless of whether it is present in the hierarchy.
Authorizations:
path Parameters
account_holder_type required | string (AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" An enumeration. |
Request Body schema: application/jsonrequired
required | object (LlmHierarchy) | ||||
|
Responses
Request samples
- Payload
{- "direct": {
- "incoming": [
- "string"
], - "outgoing": [
- "string"
]
}
}
Response samples
- 200
- 422
{- "property1": "string",
- "property2": "string"
}
Delete a custom label hierarchy
Delete a custom label hierarchy
Authorizations:
path Parameters
account_holder_type required | string (AccountHolderType) Enum: "consumer" "business" "freelance" "unknown" An enumeration. |
Responses
Response samples
- 200
- 422
null
Detect anomalies in new transactions given a transaction history.
Given a transaction history, return an anomaly score for other transactions, that is, how similar they are to the transaction history. Also returns metrics for different anomaly score thresholds.
Authorizations:
Request Body schema: application/jsonrequired
required | Array of objects (Transaction History) <= 1500 items |
required | Array of objects (Transactions To Classify) <= 1500 items |
Responses
Request samples
- Payload
{- "transaction_history": [
- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "account_holder_id": "35b927b6-6fda-40aa-93b8-95b47c2b2cad",
- "amount": 10,
- "entry_type": "outgoing",
- "date": "2022-02-02",
- "iso_currency_code": "USD",
- "country": "US",
- "description": "SQ* STARBUCKS UNION SQUARE"
}
], - "transactions_to_classify": [
- {
- "transaction_id": "xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x",
- "account_holder_id": "35b927b6-6fda-40aa-93b8-95b47c2b2cad",
- "amount": 10,
- "entry_type": "outgoing",
- "date": "2022-02-02",
- "iso_currency_code": "USD",
- "country": "US",
- "description": "SQ* STARBUCKS UNION SQUARE"
}
]
}
Response samples
- 200
- 422
{- "results": [
- 1
], - "metrics": {
- "thresholds": [
- 1
], - "anomaly_recalls": [
- 1
], - "not_anomaly_recalls": [
- 1
]
}
}
Get the list of possible MCC codes that can be assigned
Get the list of possible MCC codes that can be assigned. Derived from the ISO:18245:2003 standard (https://www.iso.org/standard/33365.html) with private and US-specific MCC codes removed.
Responses
Response samples
- 200
[- {
- "code": "string",
- "description": "string"
}
]
List all submited reports (paginated and filterable).
Given a page size and page number, lists a specific page of previously submitted reports, optionally filtered by status and transaction_id.
Authorizations:
query Parameters
per_page | integer (Per Page) [ 1 .. 10000 ] Default: 1000 |
page | integer (Page) Default: 0 |
status | string (Status) |
transaction_id | string (Transaction Id) |
Responses
Response samples
- 200
- 422
[- {
- "transaction_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}, - "notes": "string",
- "webhook_url": "string"
}
]
Report a wrongly classified transaction.
Report a wrongly classified transaction specifying expected enrichment values.
Authorizations:
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
- cURL
- Python SDK
{ }
Response samples
- 200
- 422
{- "transaction_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}, - "notes": "string",
- "webhook_url": "string"
}
Returns a report by id
Returns all the available information about a previously submitted report by it's identifier.
Authorizations:
path Parameters
id required | string (Id) |
Responses
Response samples
- 200
- 422
[- {
- "transaction_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}, - "notes": "string",
- "webhook_url": "string"
}
]
Search for entities
Resolves a query into an entity by querying our entity resolution system.
The parameters name
and website
are mutually exclusive.
Authorizations:
query Parameters
name | string (Name) The name of the entity to resolve |
website | string (Website) The website of the entity to resolve |
location | string (Location) A location string of the entity to resolve |
Responses
Response samples
- 200
- 422
{- "website": "string",
- "name": "string",
- "logo": "string",
- "id": "string",
- "location": "string",
- "location_structured": {
- "address": "string",
- "city": "string",
- "state": "string",
- "postcode": "string",
- "country": "string",
- "latitude": 0,
- "longitude": 0,
- "google_maps_url": "string",
- "apple_maps_url": "string",
- "store_number": "string"
}, - "confidence": 0
}
Retrieve an entity by its ID
Retrieve more information about an entity by using its unique ID. These ID's may be obtained from
the field id
in entity search or from merchant_id
in
transaction enrichment
Authorizations:
path Parameters
id required | string (Id) The unique ID of the entity |
Responses
Response samples
- 200
- 422
{- "website": "string",
- "name": "string",
- "logo": "string",
- "id": "string",
- "location": "string",
- "location_structured": {
- "address": "string",
- "city": "string",
- "state": "string",
- "postcode": "string",
- "country": "string",
- "latitude": 0,
- "longitude": 0,
- "google_maps_url": "string",
- "apple_maps_url": "string",
- "store_number": "string"
}, - "confidence": 0
}
Response samples
- 200
- 422
[- {
- "title": "string",
- "description": "string",
- "severity": "info",
- "filter": {
- "type": "numeric",
- "field": "string",
- "op": "eq",
- "value": 0
}, - "trigger": "none",
- "id": "string"
}
]
Creates a alert definition
Authorizations:
Request Body schema: application/jsonrequired
title required | string (Title) |
description required | string (Description) |
severity required | string (Severity) Enum: "info" "warning" "critical" |
required | any (Filter) |
trigger required | string (Trigger) Enum: "none" "any" |
Responses
Request samples
- Payload
{- "title": "string",
- "description": "string",
- "severity": "info",
- "filter": {
- "type": "numeric",
- "field": "string",
- "op": "eq",
- "value": 0
}, - "trigger": "none"
}
Response samples
- 200
- 422
{- "title": "string",
- "description": "string",
- "severity": "info",
- "filter": {
- "type": "numeric",
- "field": "string",
- "op": "eq",
- "value": 0
}, - "trigger": "none",
- "id": "string"
}
Gets a alert definition
Authorizations:
path Parameters
alert_definition_id required | string (Alert Definition Id) |
Responses
Response samples
- 200
- 422
{- "title": "string",
- "description": "string",
- "severity": "info",
- "filter": {
- "type": "numeric",
- "field": "string",
- "op": "eq",
- "value": 0
}, - "trigger": "none",
- "id": "string"
}
Updates a alert definition
Authorizations:
path Parameters
alert_definition_id required | string (Alert Definition Id) |
Request Body schema: application/jsonrequired
title required | string (Title) |
description required | string (Description) |
severity required | string (Severity) Enum: "info" "warning" "critical" |
required | any (Filter) |
trigger required | string (Trigger) Enum: "none" "any" |
Responses
Request samples
- Payload
{- "title": "string",
- "description": "string",
- "severity": "info",
- "filter": {
- "type": "numeric",
- "field": "string",
- "op": "eq",
- "value": 0
}, - "trigger": "none"
}
Response samples
- 200
- 422
{- "title": "string",
- "description": "string",
- "severity": "info",
- "filter": {
- "type": "numeric",
- "field": "string",
- "op": "eq",
- "value": 0
}, - "trigger": "none",
- "id": "string"
}
Deletes a alert definition
Authorizations:
path Parameters
alert_definition_id required | string (Alert Definition Id) |
Responses
Response samples
- 200
- 422
{- "title": "string",
- "description": "string",
- "severity": "info",
- "filter": {
- "type": "numeric",
- "field": "string",
- "op": "eq",
- "value": 0
}, - "trigger": "none"
}
Check company background
Given a company name or website, return the background information
Authorizations:
Request Body schema: application/jsonrequired
company_identifier required | string (Company Identifier) The company name or website |
country required | string (Country) The company country |
Responses
Request samples
- Payload
{- "company_identifier": "string",
- "country": "string"
}
Response samples
- 200
- 422
{- "legal_name": {
- "name": "string",
- "sources": [
- 0
]
}, - "logo": {
- "url": "string",
- "sources": [
- 0
]
}, - "description": {
- "description": "string",
- "sources": [
- 0
]
}, - "industry": {
- "industry": "string",
- "sources": [
- 0
]
}, - "type": {
- "type": "Unknown",
- "sources": [
- 0
]
}, - "address": {
- "address": "string",
- "sources": [
- 0
]
}, - "creation_date": {
- "date": "string",
- "sources": [
- 0
]
}, - "website": {
- "url": "string",
- "sources": [
- 0
]
}, - "social_medias": {
- "social_medias": [
- {
- "url": "string",
- "followers": 0,
- "plateform": "string"
}
], - "sources": [
- 0
]
}, - "founders": {
- "founders": [
- {
- "name": "string",
- "photo": "string",
- "title": "string",
- "social_medias": [
- "string"
]
}
], - "sources": [
- 0
]
}, - "investors": {
- "investors": [
- {
- "name": "string",
- "website": "string",
- "social_medias": [
- "string"
]
}
], - "sources": [
- 0
]
}, - "fundings": {
- "rounds": [
- {
- "date": "string",
- "amount": "string",
- "round": "string"
}
], - "sources": [
- 0
]
}, - "size": {
- "size": "string",
- "sources": [
- 0
]
}, - "countries_of_operation": {
- "countries": [
- "string"
], - "sources": [
- 0
]
}, - "related_companies": {
- "companies": [
- "string"
], - "sources": [
- 0
]
}, - "reviews": {
- "reviews": [
- {
- "score": "string",
- "content": "string",
- "date": "string",
- "url": "string",
- "plateform": "string"
}
], - "sources": [
- 0
]
}, - "misc": {
- "misc": "string",
- "sources": [
- 0
]
}
}