Datasets (Streams) & API Services

Efficient, Targeted Data and Service Discovery

The Streams & Services Search Endpoint is a specialized API endpoint designed to streamline searches specifically for Data Streams and Data Services within the Fusionbase Data Hub. It efficiently narrows down results to these two categories, delivering precise data sets and related services. Perfect for developers who need to target their search for datasets, like statistics or environmental data, and services that complement data processing and analytics, providing a focused and detailed data selection.

GET https://api.fusionbase.com/api/v2/search/data?q=<QUERY>

Query Parameters

NameTypeDescription

q

String

This parameter accepts the user's search string, defining the specific data or information to be retrieved by the Data Search Endpoint.

{
    "results": [
        {
            "linked_data_id": "",
            "linked_context_id": "4994292",
            "linked_data_value": "Geodata Lookups for Germany",
            "entity": {
                "key": "4994292",
                "name": {
                    "en": "Geodata Lookups for Germany"
                },
                "display_name": null,
                "source": {
                    "name": "Fusionbase"
                },
                "meta": {
                    "coverage": {
                        "geographical": {
                            "iso_alpha_3": [
                                "DEU"
                            ]
                        }
                    }
                }
            },
            "score": 0.7391094863414764,
            "distance": 0.26089051365852356,
            "entity_type": "STREAM"
        },
        {
            "linked_data_id": "",
            "linked_context_id": "3390386",
            "linked_data_value": "IPv4 Geolocation Mappings for Germany - Timeseries",
            "entity": {
                "key": "3390386",
                "name": {
                    "en": "IPv4 Geolocation Mappings for Germany - Timeseries"
                },
                "display_name": null,
                "source": {
                    "name": "Fusionbase"
                },
                "meta": {
                    "coverage": {
                        "geographical": {
                            "iso_alpha_3": [
                                "DEU"
                            ]
                        }
                    }
                }
            },
            "score": 0.6845411658287048,
            "distance": 0.31545883417129517,
            "entity_type": "STREAM"
        }
    }
]

To assist with integrating the Streams & Services Search API into your application, we provide examples in various programming languages. Each example illustrates how to execute a properly encoded GET request to the API. Remember to replace <QUERY> with your URL-encoded search query and YOUR_API_KEY with the actual API key provided to you.

curl -X "GET" "https://api.fusionbase.com/api/v2/search/data?q=$(urlencode "<QUERY>")" \
     -H 'X-API-KEY: YOUR_API_KEY' \
     -H 'Content-Type: application/json; charset=utf-8'

These code snippets provide a template for making a GET request to the Streams & Services Search endpoint of the Fusionbase Data Hub API. By encoding the query parameter, you ensure that the request is correctly formatted and can be processed efficiently by the API.

Last updated