# Metraskeld Quote Intelligence (`hushed_saddlebag/metraskeld-quote-intelligence`) Actor

Compare 2–5 supplier quotes, audit pricing, detect missing items and identify potential savings. Structured decision intelligence for AI agents, procurement teams and automated workflows. API & MCP integration. No automatic purchasing.

- **URL**: https://apify.com/hushed_saddlebag/metraskeld-quote-intelligence.md
- **Developed by:** [Ahlem Salem](https://apify.com/hushed_saddlebag) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.05 / verified quote comparison

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Metraskeld Quote Intelligence

Compare supplier quotes without guessing. A structured B2B quote comparison and arithmetic audit engine for procurement developers, AI agents and automation workflows.

### Quick start

The input form contains a fictional example: two offers for the same purchase request. Replace these values with verified structured quote data. The example returns a lowest comparable offer at EUR 1,170 versus EUR 1,300, a potential saving of EUR 130 before VAT (10%).

Use the Console, Apify API or Apify MCP integration. Submit one purchase request and 2-5 quotes. Use exact references, quantities, units, declared shipping and discounts. Amounts are decimal strings. Where supported, use UNKNOWN for unknown values, not invented zeroes.

### What you receive

- Comparable pre-tax offer totals and line-level consistency checks.
- Lowest comparable price or explicit price tie, where the evidence permits.
- Missing item and discrepancy codes; clarification and recovery guidance.
- Independent arithmetic audit, potential savings and human approval requirement.
- Structured JSON with stable machine fields and optional localized explanations.

### Decision contract

Read agent_result.status, next_action, error_codes, selected_offer_index (1-based), all_offers_comparable and independent_audit. CONCLUANT indicates a comparable lowest price; EX_AEQUO_PRIX indicates a price tie; PARTIEL indicates insufficient comparison evidence. Do not treat a successful Actor run as a purchasing decision. Do not purchase automatically.

### Pricing

Intended Store pricing: USD 0.05 per complete eligible audited comparison, including verified price ties. No custom event for incomplete or invalid comparisons. Platform usage during execution is intended to be included. Post-run storage access may incur ordinary Apify fees. Consult the live pricing and your account usage. Save the run ID and retrieve existing results rather than starting another run after a timeout; separate runs can generate separate charges. The billing preview is not proof of settlement; consult the billing receipt and Apify usage.

### Scope and data handling

Structured quotes only; 2-5 offers, one currency (EUR/USD/GBP), recoverable VAT. No PDFs, OCR, supplier search, source-authenticity certification, technical equivalence certification, currency conversion or automatic purchasing. Arithmetic auditing is not verification of the underlying source documents. The engine restricts the run and default storages before processing; sharing and retention follow Apify settings. Do not include secrets or sensitive personal data. Use synthetic data during private validation. Contact the developer via the Actor issue channel for integration questions.

# Actor input Schema

## `demande` (type: `object`):

Purchase request with exact references, quantities, units and currency. Replace the fictional sample with verified values.

## `devis` (type: `array`):

Two to five structured supplier quotes in the same currency. Replace the fictional sample. Use UNKNOWN for explicitly unknown supported fields; never invent zero.

## `response_language` (type: `string`):

Optional human-readable summary and clarification language. Stable machine codes and amounts are unchanged.

## `supplier_languages` (type: `object`):

Optional object mapping original 1-based offer indexes (strings) to fr/en/de/es/it/ar. Explicit preference overrides recognized document format.

## Actor input object example

```json
{
  "demande": {
    "client": "FICTIONAL DEMO BUYER",
    "devise": "EUR",
    "tva_recuperable": true,
    "lignes": [
      {
        "reference": "REF-ALPHA",
        "description": "Demo item 1",
        "quantite": "10",
        "unite": "piece"
      },
      {
        "reference": "REF-BETA",
        "description": "Demo item 2",
        "quantite": "5",
        "unite": "piece"
      }
    ]
  },
  "devis": [
    {
      "fournisseur": "FICTIONAL SUPPLIER 1",
      "devis_id": "A-001",
      "date": "2026-11-20",
      "valable_jusquau": "2035-12-31",
      "devise": "EUR",
      "livraison_ht": "200",
      "delai_jours": "7",
      "total_ht_annonce": "1300",
      "remise_non_prise_en_compte": false,
      "lignes": [
        {
          "reference": "REF-ALPHA",
          "quantite": "10",
          "unite": "piece",
          "prix_unitaire_ht": "100",
          "description": "Demo item 1"
        },
        {
          "reference": "REF-BETA",
          "quantite": "5",
          "unite": "piece",
          "prix_unitaire_ht": "20",
          "description": "Demo item 2"
        }
      ]
    },
    {
      "fournisseur": "FICTIONAL SUPPLIER 2",
      "devis_id": "B-002",
      "date": "2026-11-20",
      "valable_jusquau": "2035-12-31",
      "devise": "EUR",
      "livraison_ht": "0",
      "delai_jours": "5",
      "total_ht_annonce": "1170",
      "remise_non_prise_en_compte": false,
      "lignes": [
        {
          "reference": "REF-ALPHA",
          "quantite": "10",
          "unite": "piece",
          "prix_unitaire_ht": "108",
          "description": "Demo item 1"
        },
        {
          "reference": "REF-BETA",
          "quantite": "5",
          "unite": "piece",
          "prix_unitaire_ht": "18",
          "description": "Demo item 2"
        }
      ]
    }
  ],
  "response_language": "en"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `json` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "demande": {
        "client": "FICTIONAL DEMO BUYER",
        "devise": "EUR",
        "tva_recuperable": true,
        "lignes": [
            {
                "reference": "REF-ALPHA",
                "description": "Demo item 1",
                "quantite": "10",
                "unite": "piece"
            },
            {
                "reference": "REF-BETA",
                "description": "Demo item 2",
                "quantite": "5",
                "unite": "piece"
            }
        ]
    },
    "devis": [
        {
            "fournisseur": "FICTIONAL SUPPLIER 1",
            "devis_id": "A-001",
            "date": "2026-11-20",
            "valable_jusquau": "2035-12-31",
            "devise": "EUR",
            "livraison_ht": "200",
            "delai_jours": "7",
            "total_ht_annonce": "1300",
            "remise_non_prise_en_compte": false,
            "lignes": [
                {
                    "reference": "REF-ALPHA",
                    "quantite": "10",
                    "unite": "piece",
                    "prix_unitaire_ht": "100",
                    "description": "Demo item 1"
                },
                {
                    "reference": "REF-BETA",
                    "quantite": "5",
                    "unite": "piece",
                    "prix_unitaire_ht": "20",
                    "description": "Demo item 2"
                }
            ]
        },
        {
            "fournisseur": "FICTIONAL SUPPLIER 2",
            "devis_id": "B-002",
            "date": "2026-11-20",
            "valable_jusquau": "2035-12-31",
            "devise": "EUR",
            "livraison_ht": "0",
            "delai_jours": "5",
            "total_ht_annonce": "1170",
            "remise_non_prise_en_compte": false,
            "lignes": [
                {
                    "reference": "REF-ALPHA",
                    "quantite": "10",
                    "unite": "piece",
                    "prix_unitaire_ht": "108",
                    "description": "Demo item 1"
                },
                {
                    "reference": "REF-BETA",
                    "quantite": "5",
                    "unite": "piece",
                    "prix_unitaire_ht": "18",
                    "description": "Demo item 2"
                }
            ]
        }
    ],
    "response_language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("hushed_saddlebag/metraskeld-quote-intelligence").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "demande": {
        "client": "FICTIONAL DEMO BUYER",
        "devise": "EUR",
        "tva_recuperable": True,
        "lignes": [
            {
                "reference": "REF-ALPHA",
                "description": "Demo item 1",
                "quantite": "10",
                "unite": "piece",
            },
            {
                "reference": "REF-BETA",
                "description": "Demo item 2",
                "quantite": "5",
                "unite": "piece",
            },
        ],
    },
    "devis": [
        {
            "fournisseur": "FICTIONAL SUPPLIER 1",
            "devis_id": "A-001",
            "date": "2026-11-20",
            "valable_jusquau": "2035-12-31",
            "devise": "EUR",
            "livraison_ht": "200",
            "delai_jours": "7",
            "total_ht_annonce": "1300",
            "remise_non_prise_en_compte": False,
            "lignes": [
                {
                    "reference": "REF-ALPHA",
                    "quantite": "10",
                    "unite": "piece",
                    "prix_unitaire_ht": "100",
                    "description": "Demo item 1",
                },
                {
                    "reference": "REF-BETA",
                    "quantite": "5",
                    "unite": "piece",
                    "prix_unitaire_ht": "20",
                    "description": "Demo item 2",
                },
            ],
        },
        {
            "fournisseur": "FICTIONAL SUPPLIER 2",
            "devis_id": "B-002",
            "date": "2026-11-20",
            "valable_jusquau": "2035-12-31",
            "devise": "EUR",
            "livraison_ht": "0",
            "delai_jours": "5",
            "total_ht_annonce": "1170",
            "remise_non_prise_en_compte": False,
            "lignes": [
                {
                    "reference": "REF-ALPHA",
                    "quantite": "10",
                    "unite": "piece",
                    "prix_unitaire_ht": "108",
                    "description": "Demo item 1",
                },
                {
                    "reference": "REF-BETA",
                    "quantite": "5",
                    "unite": "piece",
                    "prix_unitaire_ht": "18",
                    "description": "Demo item 2",
                },
            ],
        },
    ],
    "response_language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("hushed_saddlebag/metraskeld-quote-intelligence").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "demande": {
    "client": "FICTIONAL DEMO BUYER",
    "devise": "EUR",
    "tva_recuperable": true,
    "lignes": [
      {
        "reference": "REF-ALPHA",
        "description": "Demo item 1",
        "quantite": "10",
        "unite": "piece"
      },
      {
        "reference": "REF-BETA",
        "description": "Demo item 2",
        "quantite": "5",
        "unite": "piece"
      }
    ]
  },
  "devis": [
    {
      "fournisseur": "FICTIONAL SUPPLIER 1",
      "devis_id": "A-001",
      "date": "2026-11-20",
      "valable_jusquau": "2035-12-31",
      "devise": "EUR",
      "livraison_ht": "200",
      "delai_jours": "7",
      "total_ht_annonce": "1300",
      "remise_non_prise_en_compte": false,
      "lignes": [
        {
          "reference": "REF-ALPHA",
          "quantite": "10",
          "unite": "piece",
          "prix_unitaire_ht": "100",
          "description": "Demo item 1"
        },
        {
          "reference": "REF-BETA",
          "quantite": "5",
          "unite": "piece",
          "prix_unitaire_ht": "20",
          "description": "Demo item 2"
        }
      ]
    },
    {
      "fournisseur": "FICTIONAL SUPPLIER 2",
      "devis_id": "B-002",
      "date": "2026-11-20",
      "valable_jusquau": "2035-12-31",
      "devise": "EUR",
      "livraison_ht": "0",
      "delai_jours": "5",
      "total_ht_annonce": "1170",
      "remise_non_prise_en_compte": false,
      "lignes": [
        {
          "reference": "REF-ALPHA",
          "quantite": "10",
          "unite": "piece",
          "prix_unitaire_ht": "108",
          "description": "Demo item 1"
        },
        {
          "reference": "REF-BETA",
          "quantite": "5",
          "unite": "piece",
          "prix_unitaire_ht": "18",
          "description": "Demo item 2"
        }
      ]
    }
  ],
  "response_language": "en"
}' |
apify call hushed_saddlebag/metraskeld-quote-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hushed_saddlebag/metraskeld-quote-intelligence"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/stsgs7sqvZF9Hj9R1/builds/yn63khQJIWCsOImSV/openapi.json
