Call Loop's REST API from an HTTP > Make a request module for automation pipelines, or expose a Loop-powered scenario as a tool AI agents can call via Make's built-in MCP Server. No key required in the free tier.
The standard Make pattern: a trigger fires, an HTTP > Make a request module fetches results from Loop, and an Iterator module loops over the results array so downstream modules (email, Slack, database) can act on each one. Use this when the query and location are fixed or come from an upstream module.
// HTTP > Make a request — GET /v1/search // Method: GET // URL: https://api.stayinloop.dev/v1/search // Query String: // q = {{query}} ← map from a prior module or type a literal // location = Kreuzberg, Berlin // limit = 5 // Parse response: Yes ← required; exposes .data as parsed JSON // Iterator module — loop over results // Array: {{1.data.results}} ← 1 = sequence number of the HTTP module // Inside the iterator, each item exposes: // {{item.result_id}} // {{item.name}} // {{item.address}} // {{item.confidence}} // {{item.restaurant.vegan}} // {{item.restaurant.outdoor_seating}} // {{item.observed_at}}
To report an outcome, add a second HTTP module with Method POST. Map result_token from the module that called /v1/details/ and outcome from the downstream action:
// HTTP > Make a request — POST /v1/report // Method: POST // URL: https://api.stayinloop.dev/v1/report // Body type: Raw // Content type: application/json // Body: { "result_token": "{{N.data.result_token}}", "outcome": "{{N.outcome}}" } // outcome must be one of: // correct · wrong · booked · closed · other // Map result_token from the HTTP module that called get_details (.data.result_token).
Make can act as an MCP server — it exposes your active, on-demand scenarios as tools that any MCP-compatible AI agent can call. Build a scenario that wraps Loop's REST API, set it to on-demand, and activate it. The AI agent calls Make; Make calls Loop and returns the results.
// Expose this scenario as a tool AI agents can call: // // 1. Replace or supplement the trigger with an On-demand schedule: // Scenario → Scheduling → On-demand → Activate // The scenario now appears in your Make MCP tool list. // // 2. Get your MCP token: // Profile (top-right) → API Access → MCP Token → Create // Token URL format: // https://<your-zone>/mcp/u/<MCP_TOKEN>/stateless // Example zone: eu2.make.com // // 3. Add to any MCP-compatible AI client: // Claude desktop → mcp.json → { "url": "<token-url>" } // Cursor → Settings → MCP → add <token-url> // ChatGPT action → type: "mcp", server_url: "<token-url>" // // The AI agent calls Make → Make calls Loop REST API → result returned. // Scope to a single scenario by appending ?scenarioId=<id> to the URL.
Authorization header with value Bearer sk_live_…in the HTTP module's Headers section.{{N.data.results}} where Nis the source module's sequence number (requires Parse response: Yes in the HTTP module). Inside an Iterator, use {{item.field}} for each element. For n8n users: {{1.data.results}} is Make's equivalent of n8n's $input.first().json.results.