Web data for the Microsoft stack
Tables that Power BI, Excel and SSRS already read.
Read the Import.io extractor’s latest run and write it to SQL Server or Azure SQL with SQLAlchemy and pyodbc.
import io, os, requests
import pandas as pd
# "CSV from latest successful run" on the extractor's Integrate tab
csv = requests.get(os.environ["IMPORTIO_CSV_URL"]).content.decode("utf-8-sig")
df = pd.read_csv(io.StringIO(csv))
from sqlalchemy import create_engine
engine = create_engine(os.environ["DATABASE_URL"], # mssql+pyodbc://user:pass@server/db?driver=ODBC+Driver+18+for+SQL+Server
fast_executemany=True)
df.to_sql("competitor_prices", engine, if_exists="append", index=False)Any public page, rendered, through managed proxies
Rendering, proxy routing, captcha handling, extraction
Latest successful run, CSV or JSON
Load extractor results into SQL Server or Azure SQL.
Also connects via the REST API.
Tables that Power BI, Excel and SSRS already read.
Land raw rows, then transform with stored procedures or SSIS.
Run the loader in Azure Functions on the extractor’s webhook.
pip install requests pandas sqlalchemy pyodbc, and install the Microsoft ODBC driver.IMPORTIO_CSV_URL and an mssql+pyodbc:// connection string.to_sql.Yes. Managed Services deliver into Azure Blob Storage, where Azure Data Factory or SQL can load it.
No. The latest-run CSV, JSON and Google Sheets endpoints return data your extractor already collected, so they don’t count toward your plan. Only the Live Query API runs an extraction per request.
As fresh as your schedule. Run the extractor hourly, daily or weekly and the endpoint always serves the latest successful run.
Pass your API key as the _apikey query parameter. Copy it from account settings at app.import.io.
Yes. The trial and Standard include rate-limited API access. Professional and Advanced include full API access and webhooks.
Append each run into Postgres with pandas and SQLAlchemy.
Setup 10 minEndpointREST APIThe documented pandas and SQLAlchemy loader.
Setup 10 minEndpointREST APINDJSON rows straight into a collection.
Setup 5 minEndpointManagedWeb data in Power BI with scheduled refresh, or delivered into your warehouse.
Setup 5 min