# Json To Url Params — REST API endpoint `json-to-url-params`

Convert a JSON object into a URL query string that starts with "?". Arrays repeat the key (or use key[] notation), nested objects are JSON-stringified, null values are skipped, and values are URL-encoded by default.

- Category: data
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/json-to-url-params/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/json-to-url-params/
- Same tool on the other surface: https://findutils.com/mcp/json-to-url-params/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/json-to-url-params/execute \
  -H "Content-Type: application/json" \
  -d '{
    "json": "{\"search\":\"hello world\",\"page\":1,\"tags\":[\"a\",\"b\"]}"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/json-to-url-params
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `json` | string | yes | JSON object to convert (the root must be an object). |
| `encode_values` | boolean | no | URL-encode values with encodeURIComponent. Default: true. Default: `true`. |
| `flatten_arrays` | boolean | no | true: arrays repeat the key (tags=a&tags=b). false: use bracket notation (tags[]=a&tags[]=b). Default: true. Default: `true`. |

Example arguments (verified):

```json
{
  "json": "{\"search\":\"hello world\",\"page\":1,\"tags\":[\"a\",\"b\"]}"
}
```

Decoded `json` argument (readability only — send it as a string):

```json
{
  "search": "hello world",
  "page": 1,
  "tags": [
    "a",
    "b"
  ]
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:json_to_url_params`. Full MCP reference: https://findutils.com/mcp/json-to-url-params/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
