Skip to main content
Glama
zvika-finally

Marqeta DiVA API MCP Server

export_view_to_file

Export financial data views like authorizations, settlements, or cards to JSON or CSV files for analysis, reporting, or integration with other systems.

Instructions

Export datasets to a file (JSON or CSV). Note: DiVA API limits results to 10,000 records per query. To get more data, use narrower date ranges or more specific filters and call multiple times. Supports all view types: authorizations, settlements, clearings, declines, loads, cards, users, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
view_nameYesName of the view (e.g., 'authorizations', 'settlements', 'cards')
aggregationNoAggregation leveldetail
output_pathYesFile path where data will be written (e.g., './exports/authorizations.json')
formatNoOutput file formatjson
max_recordsNoMaximum total records to export (omit to export all matching records)
fieldsNoSpecific fields to include in export
filtersNoFilters on data fields. For date filtering, use actual date field names with operators (e.g., {'transaction_timestamp': '>=2023-10-20'})
sort_byNoField to sort by
programNoOverride default program

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zvika-finally/marqeta-diva-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server