API:Financials
API Endpoint Path
required
Carbon Emission Calculator API
/api/1/carbon-emission-calculator
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on AI SEO Schema
token
required
BUYFROMLO API token. Subscription API is available on /api/3/seo-schema, and accessible to on-site APP on /app/3/seo-schema as well
rootkeyword
required
Enter the raw content for AI writing. Max.content character ceiling is 2,000
role
required
Enter who writes the schema, such as product specialist, SEO expert, etc
type
required
Select the type of schema. Current available options: FAQ, product snippet
language
Optional
Input the language iso-code, Currently API provides 4 language, which are en, ja, zh-cn, zh-tw. The default language is en
llmversion
Optional
Current avalable model are OpenAI GPT, Palm, Gemini, Llama & Claude
apikey
Optional
Free trial API is required to input a LLM api key. Current available model for free trial user account is OpenAI GPT.
Carbon Emission Calculator API
/api/1/carbon-emission-calculator
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/3/seo-schema"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = ""
type = ""
## Optional ##
language = ""
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(
apiendpoint,
json={
"originalContent":originalContent,
"type":type,
"language":language
}, headers= headers
)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"schema content response"
}
The Carbon Emission Calculator API enables automated CO2e calculations, aiding in the development of solutions and software focused on sustainability.
The API grants access to over 63,000 scientifically validated emission factors.
The API supports JSON data format.
Data in the Carbon Emission Calculator API is updated every 5 minutes.
Yes, the API is accessible for integration with onsite applications, which includes mobile and web applications.
The API offers integration options for various programming languages, including cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, and Typescript.
Yes, the free tier of the API has a limit of 500 requests per month.
Details regarding API usage obligations and liabilities are outlined in the Legal Terms of Service & Condition document.
The endpoint path for the API is '\/api\/1\/carbon-emission-calculator'.
The data provider for the Carbon Emission Calculator API is BUYFROMLO.