{"uid":"cap_6_UetDTMZeFnSlGwdtDcE","slug":"scopeapi-dev-python-data-analysis-0659ec71","name":"scopeapi.dev Python Data Analysis","description":"Python Data Analysis","url":"https://scopeapi.dev/data-analysis","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["query","data"],"properties":{"data":{"type":"string"},"query":{"type":"string"},"format":{"enum":["csv","json","text"],"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"usage":{"modelCallsUsed":1,"codeInterpreterCalls":1},"analysis":"Structured analysis produced using Python.","endpoint":"/data-analysis"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.07","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.07/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q8V-V7Dmht--8zO5G-IO6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.07","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs Python-powered data analysis on submitted data using a natural language query, returning structured analytical results","exampleAgentPrompt":"Analyze this CSV data for me — here's the table as a string — and tell me which product category had the highest average revenue last quarter. Query: 'Which product category has the highest average revenue?', data format: csv.","exampleUseCases":[{"title":"Sales trend analysis from CSV","prompt":"I have monthly sales data as a CSV string. Can you analyze it and tell me which months had the biggest revenue growth and what the overall trend looks like?"},{"title":"JSON dataset outlier detection","prompt":"Here's my user engagement data as a JSON string — can you run an analysis to find any statistical outliers in daily active user counts and explain what might be causing them?"},{"title":"Summary statistics on raw text data","prompt":"I've got a plain-text dataset of survey response scores. Can you compute the mean, median, and standard deviation for me and highlight any unusual values?"}],"resultDescription":"A JSON object containing a natural-language 'analysis' field with Python-generated structured insights about the submitted data, along with a 'usage' object showing how many model calls and code interpreter calls were made, and the endpoint name.","failureModes":["Missing 'query' or 'data' fields in request body returns validation error","Malformed or unparseable data string may cause analysis failure or empty result","Unsupported format value outside csv/json/text enum rejected","Large datasets may exceed token or processing limits","Ambiguous queries may produce generic or incomplete analysis"],"whenToPreferThis":"Choose this endpoint when you need to run ad-hoc Python-powered analytical computations on structured or semi-structured data (CSV, JSON, or text) and want a natural language answer back — especially when you don't want to set up your own code interpreter environment. It is particularly well-suited for one-off analytical queries over datasets submitted as strings, where the question can be expressed in plain language and the result should be a readable summary with supporting statistics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:42:48.105Z","isFirstParty":false}