Data Export API 3.0.0

Data Export API — OpenAPI 3.0.3 contract published by Fenergo for the transaction-monitoring service of the Fen-X SaaS platform, carrying 2 path(s) and 2 operation(s). Harvested verbatim from Fenergo's own published specification endpoint.

Operations 2

POST /api/v1/insights/download Request to create a report for insights data #
GET /api/v1/insights/download/{job_id} Return the status of the job. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tm-dataexport-api-spec"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fenergo-tm-dataexport-api-spec-openapi.json Raw ↑
{
    "openapi": "3.0.3",
    "info": {
        "title": "Data Export API",
        "description": "The Export API is used to create a CSV insights report.",
        "version": "3.0.0"
    },
    "security": [
        {
            "exportToken": [
                "export_all"
            ]
        }
    ],
    "servers": [
        {
            "url": "https://api.fenergox.com/tm/aml"
        }
    ],
    "paths": {
        "/api/v1/insights/download": {
            "post": {
                "summary": "Request to create a report for insights data",
                "description": "Request to create insights report based on a time range. ",
                "operationId": "insights_download_api_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/InsightsDownloadRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/InsightsDownloadPostResponse"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Validation Error",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/HTTPValidationError"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/insights/download/{job_id}": {
            "get": {
                "summary": "Return the status of the job.",
                "description": "Returns the status of the job. If the job is completed then it also includes the credentials to download the file.",
                "operationId": "insights_download_api_get",
                "parameters": [
                    {
                        "required": true,
                        "schema": {
                            "title": "Job Id",
                            "type": "string"
                        },
                        "name": "job_id",
                        "in": "path"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/InsightsDownloadResponse"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation Error",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/HTTPValidationError"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "InsightsDownloadRequest": {
                "title": "InsightsDownloadRequest",
                "required": [
                    "start_date",
                    "end_date"
                ],
                "type": "object",
                "properties": {
                    "start_date": {
                        "title": "start date in timestamp",
                        "type": "int64",
                        "default": 1686607200000
                    },
                    "end_date": {
                        "title": "end date in timestamp",
                        "type": "integer",
                        "default": 1686607200000
                    }
                }
            },
            "InsightsDownloadPostResponse": {
                "title": "InsightsDownloadPostResponse",
                "type": "object",
                "properties": {
                    "job_id": {
                        "title": "Job Id",
                        "type": "string"
                    },
                    "status": {
                        "title": "Job Status",
                        "type": "string",
                        "default": "In_Progress"
                    }
                }
            },
            "InsightsDownloadResponse": {
                "title": "InsightsDownloadResponse",
                "type": "object",
                "properties": {
                    "job_id": {
                        "title": "Job Id",
                        "type": "string"
                    },
                    "status": {
                        "title": "Job Status",
                        "type": "string",
                        "enum": [
                            "In_Progress",
                            "Completed"
                        ]
                    },
                    "file_credentials": {
                        "type": "object",
                        "$ref": "#/components/schemas/FileCredentials"
                    }
                }
            },
            "FileCredentials": {
                "title": "FileCredentials",
                "type": "object",
                "properties": {
                    "location": {
                        "title": "Location",
                        "type": "string"
                    },
                    "access_key_id": {
                        "title": "Access Key Id",
                        "type": "string"
                    },
                    "secret_access_key": {
                        "title": "Secret Access Key",
                        "type": "string"
                    },
                    "session_token": {
                        "title": "Session token",
                        "type": "string"
                    },
                    "bucket_name": {
                        "title": "Bucket Name",
                        "type": "string"
                    },
                    "region": {
                        "title": "Region",
                        "type": "string"
                    }
                },
                "description": "Defines a FileCredentials structure and types."
            },
            "HTTPValidationError": {
                "title": "HTTPValidationError",
                "additionalProperties": true,
                "type": "object",
                "properties": {
                    "detail": {
                        "title": "Detail",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ValidationError"
                        }
                    }
                }
            },
            "ValidationError": {
                "title": "ValidationError",
                "required": [
                    "loc",
                    "msg",
                    "type"
                ],
                "type": "object",
                "properties": {
                    "loc": {
                        "title": "Location",
                        "type": "array",
                        "items": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "integer"
                                }
                            ]
                        }
                    },
                    "msg": {
                        "title": "Message",
                        "type": "string"
                    },
                    "type": {
                        "title": "Error Type",
                        "type": "string"
                    }
                }
            }
        },
        "securitySchemes": {
            "exportToken": {
                "type": "oauth2",
                "flows": {
                    "clientCredentials": {
                        "tokenUrl": "https://your_api_endpoint/oauth2/token",
                        "scopes": {
                            "export_all": "all exports operations"
                        }
                    }
                }
            }
        }
    }
}